Weasyl: Drop the &feature=submit part of the favourite extractor URL (#1374)

It's optional and requiring it forces users to escape those URLs because
of the ampersand
This commit is contained in:
tux93
2021-03-12 16:56:04 +01:00
committed by GitHub
parent ec98b2c56f
commit 10c279f285

View File

@@ -203,7 +203,7 @@ class WeasylJournalsExtractor(WeasylExtractor):
class WeasylFavoriteExtractor(WeasylExtractor):
subcategory = "favorite"
directory_fmt = ("{category}", "{owner_login}", "Favorites")
pattern = BASE_PATTERN + r"favorites\?userid=(\d+)&feature=submit"
pattern = BASE_PATTERN + r"favorites\?userid=(\d+)"
test = ("https://www.weasyl.com/favorites?userid=184616&feature=submit", {
"count": ">= 5",
})