1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-01-09 22:57:54 +01:00

[AnimeLab] Use \s rather than space literal

This commit is contained in:
Mariusz Skoneczko 2017-07-09 13:13:08 +10:00
parent 72350e39f6
commit 6df5193ecd

View File

@ -66,7 +66,7 @@ class AnimeLabBaseIE(InfoExtractor):
self._login()
def _extract_video_collection_from_player(self, webpage):
video_collection_str = self._search_regex(r'new +?VideoCollection *?\((.*?)\);', webpage, 'AnimeLab VideoCollection')
video_collection_str = self._search_regex(r'new\s+?VideoCollection\s*?\((.*?)\);', webpage, 'AnimeLab VideoCollection')
return self._parse_json(video_collection_str, None)
def _extract_position_from_player(self, webpage):