mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-05 19:11:50 +02:00
Allow for href='' in fix_relative_text_links processing.
This commit is contained in:
parent
1683d950c3
commit
25ebc603e7
1 changed files with 1 additions and 1 deletions
|
|
@ -679,7 +679,7 @@ class BaseSiteAdapter(Requestable):
|
|||
## URL.
|
||||
if self.getConfig('fix_relative_text_links'):
|
||||
for alink in soup.find_all('a'):
|
||||
if alink.has_attr('href'):
|
||||
if alink.has_attr('href') and alink['href']: # Saw some links with href=""
|
||||
## hrefurl now also the flag for been-handled / needs-handled
|
||||
hrefurl = None
|
||||
toppath=""
|
||||
|
|
|
|||
Loading…
Reference in a new issue