Bugfixes
This commit is contained in:
parent
bd4d5a004a
commit
91b8bb26b7
2 changed files with 4 additions and 1 deletions
|
@ -81,6 +81,9 @@ async def external_urls(
|
|||
soup = BeautifulSoup(ro.content, "html5lib")
|
||||
for link in soup.find_all("a"):
|
||||
h = link.get("href")
|
||||
if not h:
|
||||
continue
|
||||
|
||||
ph = urlparse(h)
|
||||
mimetype, _ = mimetypes.guess_type(h)
|
||||
if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue