diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-06-23 02:16:09 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-06-23 02:16:09 +0700 |
commit | 2605043d6d44645dff45760ff5bf5d6d500a3dba (patch) | |
tree | 2f837b8bac0c1563c168375f1e83807ef263133a | |
parent | 091c9b43164f6f3b31f5f911c88a4aeaa0358429 (diff) |
[vimeo:channel,group] Make title extraction no fatal
-rw-r--r-- | youtube_dl/extractor/vimeo.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index aeee7df8f..b5b44a79a 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -813,7 +813,8 @@ class VimeoChannelIE(VimeoBaseInfoExtractor): return '%s/videos/page:%d/' % (base_url, pagenum) def _extract_list_title(self, webpage): - return self._TITLE or self._html_search_regex(self._TITLE_RE, webpage, 'list title') + return self._TITLE or self._html_search_regex( + self._TITLE_RE, webpage, 'list title', fatal=False) def _login_list_password(self, page_url, list_id, webpage): login_form = self._search_regex( @@ -954,7 +955,7 @@ class VimeoGroupsIE(VimeoAlbumIE): }] def _extract_list_title(self, webpage): - return self._og_search_title(webpage) + return self._og_search_title(webpage, fatal=False) def _real_extract(self, url): mobj = re.match(self._VALID_URL, url) |