diff options
author | stepshal <nessento@openmailbox.org> | 2016-09-08 17:04:57 +0700 |
---|---|---|
committer | stepshal <nessento@openmailbox.org> | 2016-09-08 17:04:57 +0700 |
commit | 25042f73722c37e4ec88030cf69e23ae76c4359b (patch) | |
tree | e2a96f09347cf1fdc5fae6452aa111c54d603cbd /youtube_dl/extractor/twitter.py | |
parent | 3f612f076708973fce52d6b6053b24e2234a9c26 (diff) |
Add missing r prefix for _VALID_URLs
Diffstat (limited to 'youtube_dl/extractor/twitter.py')
-rw-r--r-- | youtube_dl/extractor/twitter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/twitter.py b/youtube_dl/extractor/twitter.py index b73842986..c5a5843b6 100644 --- a/youtube_dl/extractor/twitter.py +++ b/youtube_dl/extractor/twitter.py @@ -342,7 +342,7 @@ class TwitterIE(InfoExtractor): class TwitterAmplifyIE(TwitterBaseIE): IE_NAME = 'twitter:amplify' - _VALID_URL = 'https?://amp\.twimg\.com/v/(?P<id>[0-9a-f\-]{36})' + _VALID_URL = r'https?://amp\.twimg\.com/v/(?P<id>[0-9a-f\-]{36})' _TEST = { 'url': 'https://amp.twimg.com/v/0ba0c3c7-0af3-4c0a-bed5-7efd1ffa2951', |