mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-03 10:02:59 +08:00
[franceinter] Fix upload date extraction (again)
This commit is contained in:
parent
1c4804ef9b
commit
094105b165
@ -33,7 +33,7 @@ class FranceInterIE(InfoExtractor):
|
|||||||
description = self._og_search_description(webpage)
|
description = self._og_search_description(webpage)
|
||||||
|
|
||||||
upload_date_str = self._search_regex(
|
upload_date_str = self._search_regex(
|
||||||
r'class=["\']cover-emission-period["\'][^>]*>[^<]+\s+(\d{1,2}\s+[^\s]+\s+\d{4})<',
|
r'class=["\']cover-emission-period ?["\'][^>]*>[^<]+\s+(\d{1,2}\s+[^\s]+\s+\d{4})<',
|
||||||
webpage, 'upload date', fatal=False)
|
webpage, 'upload date', fatal=False)
|
||||||
if upload_date_str:
|
if upload_date_str:
|
||||||
upload_date_list = upload_date_str.split()
|
upload_date_list = upload_date_str.split()
|
||||||
|
Loading…
Reference in New Issue
Block a user