fix building supportedsites.md on Python 3.4 and 3.5
dicts didn't maintain insertion order back then
This commit is contained in:
@@ -363,6 +363,8 @@ def build_extractor_list():
|
|||||||
if extr.from_url(url).category == category:
|
if extr.from_url(url).category == category:
|
||||||
root = url[:url.index("/", 8)]
|
root = url[:url.index("/", 8)]
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
|
continue
|
||||||
domains[category] = root + "/"
|
domains[category] = root + "/"
|
||||||
|
|
||||||
# sort subcategory lists
|
# sort subcategory lists
|
||||||
|
|||||||
Reference in New Issue
Block a user