mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-10-30 12:50:24 +08:00
Preserve order of URLs fetched from page--especially important for anthologies.
This commit is contained in:
1 parent
390c661a88
commit
69d1ce6c01
1 file changed
+1
-1
@@ -117,7 +117,7 @@ def get_urls_from_html(data,url=None,configuration=None,normalize=False,restrict
|
||||
|
||||
|
||||
def get_urls_from_text(data,configuration=None,normalize=False):
|
||||
urls = collections.OrderedDict(list)
|
||||
urls = collections.OrderedDict()
|
||||
data=unicode(data)
|
||||
|
||||
if not configuration:
|
||||
|
||||
Reference in new issue
Block a user