1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-24 00:52:55 +08:00

Update franceinter.py

This commit is contained in:
Sergey M 2018-01-21 17:50:18 +07:00 committed by GitHub
parent 094105b165
commit c0a0a807d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ class FranceInterIE(InfoExtractor):
description = self._og_search_description(webpage)
upload_date_str = self._search_regex(
r'class=["\']cover-emission-period ?["\'][^>]*>[^<]+\s+(\d{1,2}\s+[^\s]+\s+\d{4})<',
r'class=["\']\s*cover-emission-period\s*["\'][^>]*>[^<]+\s+(\d{1,2}\s+[^\s]+\s+\d{4})<',
webpage, 'upload date', fatal=False)
if upload_date_str:
upload_date_list = upload_date_str.split()