mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-05-06 09:53:24 +00:00
extractor: twitter: support x.com domains (#33267)
This commit is contained in:
parent
956b8c5855
commit
787f92ff62
|
|
@ -31,7 +31,7 @@ from .periscope import (
|
|||
|
||||
class TwitterBaseIE(InfoExtractor):
|
||||
_API_BASE = 'https://api.twitter.com/1.1/'
|
||||
_BASE_REGEX = r'https?://(?:(?:www|m(?:obile)?)\.)?twitter\.com/'
|
||||
_BASE_REGEX = r'https?://(?:(?:www|m(?:obile)?)\.)?(?:twitter|x)\.com/' # FIX: support x.com domain
|
||||
_GUEST_TOKEN = None
|
||||
|
||||
def _extract_variant_formats(self, variant, video_id):
|
||||
|
|
|
|||
Loading…
Reference in a new issue