[vsco] update URL pattern (closes #410)

This commit is contained in:
Mike Fährmann
2019-09-08 11:37:27 +02:00
parent 1848788970
commit e7690ac694
2 changed files with 10 additions and 7 deletions

View File

@@ -151,7 +151,7 @@ class TwitterTimelineExtractor(TwitterExtractor):
"""Extractor for all images from a user's timeline"""
subcategory = "timeline"
pattern = (r"(?:https?://)?(?:www\.|mobile\.)?twitter\.com"
r"/([^/?&#]+)/?(?:[?#].*)?$")
r"/([^/?&#]+)/?(?:$|[?#])")
test = (
("https://twitter.com/supernaturepics", {
"range": "1-40",