[twitter] Fix short URL extraction

pull/6917/merge
Yen Chi Hsuan 2015-10-18 18:23:56 +08:00
parent 77a54b6a65
commit c88aec845a
1 changed files with 1 additions and 1 deletions

View File

@ -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(