mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-03 06:56:05 +08:00
Fix for CBSLocal extractor
This commit is contained in:
parent
498a8a4ca5
commit
69fc2b68d8
@ -92,7 +92,8 @@ class CBSLocalIE(AnvatoIE):
|
|||||||
info_dict = self._extract_anvato_videos(webpage, display_id)
|
info_dict = self._extract_anvato_videos(webpage, display_id)
|
||||||
|
|
||||||
time_str = self._html_search_regex(
|
time_str = self._html_search_regex(
|
||||||
r'class="entry-date">([^<]+)<', webpage, 'released date', default=None)
|
r'class="post-date">([^<]+)<', webpage, 'released date', default=None)
|
||||||
|
time_str = time_str.replace(' at ', ' ')
|
||||||
if time_str:
|
if time_str:
|
||||||
timestamp = unified_timestamp(time_str)
|
timestamp = unified_timestamp(time_str)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user