1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-14 11:17:14 +08:00

[twitter] pass flake8 verification

This commit is contained in:
bopol 2020-03-27 19:16:22 +01:00
parent 070846b608
commit 54eadd2d79

View File

@ -30,8 +30,7 @@ from .periscope import (
class TwitterBaseIE(InfoExtractor):
_API_BASE = 'https://api.twitter.com/1.1/'
_BASE_REGEX = r'https?://((?:(?:www|m(?:obile)?)\.)?twitter\.com|' \
'nitter\.(net|42l\.fr|snopyta\.org|nixnet\.services|pussthecat\.org|mastodont\.cat|13ad\.de)|tw\.openalgeria\.org)/'
_BASE_REGEX = r'https?://((?:(?:www|m(?:obile)?)\.)?twitter\.com|nitter\.(net|42l\.fr|snopyta\.org|nixnet\.services|pussthecat\.org|mastodont\.cat|13ad\.de)|tw\.openalgeria\.org)/'
_GUEST_TOKEN = None
def _extract_variant_formats(self, variant, video_id):