[cleanup] Misc (#8338)

Authored by: bashonly, gamer191
This commit is contained in:
bashonly
2023-10-13 17:15:35 -05:00
committed by GitHub
parent 2acd1d555e
commit b634ba742d
27 changed files with 40 additions and 41 deletions

View File

@@ -1741,7 +1741,7 @@ class TwitterSpacesIE(TwitterBaseIE):
class TwitterShortenerIE(TwitterBaseIE):
IE_NAME = 'twitter:shortener'
_VALID_URL = r'https?://t.co/(?P<id>[^?]+)|tco:(?P<eid>[^?]+)'
_VALID_URL = r'https?://t\.co/(?P<id>[^?#]+)|tco:(?P<eid>[^?#]+)'
_BASE_URL = 'https://t.co/'
def _real_extract(self, url):