From 69d1ce6c01c67c91a3fdba6b6f7ca0423bf80c65 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Tue, 9 Jun 2015 13:08:56 -0500 Subject: [PATCH] Preserve order of URLs fetched from page--especially important for anthologies. --- fanficfare/geturls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficfare/geturls.py b/fanficfare/geturls.py index 1e90df43..ab4b98f8 100644 --- a/fanficfare/geturls.py +++ b/fanficfare/geturls.py @@ -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: