From cf3b51f8aac1801e3438874dcb0631385ca23959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 11 Feb 2022 21:58:23 +0100 Subject: [PATCH] fix building supportedsites.md on Python 3.4 and 3.5 dicts didn't maintain insertion order back then --- scripts/supportedsites.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/supportedsites.py b/scripts/supportedsites.py index 08c61f0c..62db3e98 100755 --- a/scripts/supportedsites.py +++ b/scripts/supportedsites.py @@ -363,6 +363,8 @@ def build_extractor_list(): if extr.from_url(url).category == category: root = url[:url.index("/", 8)] break + else: + continue domains[category] = root + "/" # sort subcategory lists