From 6df5193ecd2de8986f3dc44bbe437d3bb20add1c Mon Sep 17 00:00:00 2001 From: Mariusz Skoneczko Date: Sun, 9 Jul 2017 13:13:08 +1000 Subject: [PATCH] [AnimeLab] Use \s rather than space literal --- youtube_dl/extractor/animelab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/animelab.py b/youtube_dl/extractor/animelab.py index 088f5f042..7fa7c6a2b 100644 --- a/youtube_dl/extractor/animelab.py +++ b/youtube_dl/extractor/animelab.py @@ -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):