mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[yesjapan] Look for datetime inside submit_info
Oops..
This commit is contained in:
parent
408b5839b1
commit
4a4fbfc967
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ def _real_extract(self, url):
|
||||||
submit_info = get_element_by_attribute('class', 'pm-submit-data', webpage)
|
submit_info = get_element_by_attribute('class', 'pm-submit-data', webpage)
|
||||||
if submit_info:
|
if submit_info:
|
||||||
timestamp = parse_iso8601(self._search_regex(
|
timestamp = parse_iso8601(self._search_regex(
|
||||||
r'datetime="([^"]+)"', webpage, 'upload date', fatal=False, default=None))
|
r'datetime="([^"]+)"', submit_info, 'upload date', fatal=False, default=None))
|
||||||
|
|
||||||
# attempt to resolve the final URL in order to get a proper extension
|
# attempt to resolve the final URL in order to get a proper extension
|
||||||
redirect_req = HEADRequest(video_url)
|
redirect_req = HEADRequest(video_url)
|
||||||
|
|
Loading…
Reference in a new issue