mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-01-10 15:17:53 +01:00
[AnimeLab] Use \s rather than space literal
This commit is contained in:
parent
72350e39f6
commit
6df5193ecd
@ -66,7 +66,7 @@ class AnimeLabBaseIE(InfoExtractor):
|
|||||||
self._login()
|
self._login()
|
||||||
|
|
||||||
def _extract_video_collection_from_player(self, webpage):
|
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)
|
return self._parse_json(video_collection_str, None)
|
||||||
|
|
||||||
def _extract_position_from_player(self, webpage):
|
def _extract_position_from_player(self, webpage):
|
||||||
|
Loading…
Reference in New Issue
Block a user