mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 21:07:06 -05:00 
			
		
		
		
	[twitter] Fix short URL extraction
This commit is contained in:
		@@ -128,7 +128,7 @@ class TwitterIE(InfoExtractor):
 | 
			
		||||
        title = self._og_search_description(webpage).strip('').replace('\n', ' ')
 | 
			
		||||
 | 
			
		||||
        # strip  'https -_t.co_BJYgOjSeGA' junk from filenames
 | 
			
		||||
        mobj = re.match(r'“(.*)\s+(http://[^ ]+)”', title)
 | 
			
		||||
        mobj = re.match(r'“(.*)\s+(https?://[^ ]+)”', title)
 | 
			
		||||
        title, short_url = mobj.groups()
 | 
			
		||||
 | 
			
		||||
        card_id = self._search_regex(
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user