diff --git a/youtube_dl/extractor/twitcasting.py b/youtube_dl/extractor/twitcasting.py index fc1dd0826..23b8542b7 100644 --- a/youtube_dl/extractor/twitcasting.py +++ b/youtube_dl/extractor/twitcasting.py @@ -53,10 +53,10 @@ class TwitCastingIE(InfoExtractor): }) webpage = self._download_webpage(url, video_id, data=request_data) - title = self._html_search_regex( + title = (self._html_search_regex( r'(?s)<[^>]+id=["\']movietitle[^>]+>(.+?)(.*)', webpage) - title = re.search(r'(?s)<[^>]+class=["\']tw-user-nav-name[^>]+>(.+?)]+class=["\']tw-user-nav-name[^>]+>(.+?)1') != -1 @@ -137,13 +145,16 @@ class TwitCastingHistoryIE(InfoExtractor): if locked is not None: continue - title = re.search(r'''<[^>]+class=["']tw-movie-thumbnail-title[^>]+>[ \n]*?(.+?) *?]+class=["']tw-movie-thumbnail-title[^>]+>[ \n]*?(.+?) *?