Skip to content

Commit

Permalink
recognize vxtwitter URLs (#2621)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatfuckingbird committed May 25, 2022
1 parent dcb5802 commit da0696e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gallery_dl/extractor/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

BASE_PATTERN = (
r"(?:https?://)?(?:www\.|mobile\.)?"
r"(?:(?:fx)?twitter\.com|nitter\.net)"
r"(?:(?:[fv]x)?twitter\.com|nitter\.net)"
)


Expand Down Expand Up @@ -407,6 +407,8 @@ class TwitterTimelineExtractor(TwitterExtractor):
("https://www.twitter.com/id:2976459548"),
("https://twitter.com/i/user/2976459548"),
("https://twitter.com/intent/user?user_id=2976459548"),
("https://fxtwitter.com/supernaturepics"),
("https://vxtwitter.com/supernaturepics"),
)

def __init__(self, match):
Expand Down

0 comments on commit da0696e

Please sign in to comment.