mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-23 06:35:51 -07:00
Specified error for except to look for
This commit is contained in:
parent
165646d7e2
commit
9d9d429fa4
1 changed files with 1 additions and 1 deletions
|
@ -2802,7 +2802,7 @@ class YoutubeTabIE(YoutubeBaseInfoExtractor):
|
||||||
last_updated = unified_strdate(last_updated_text)
|
last_updated = unified_strdate(last_updated_text)
|
||||||
if last_updated is None:
|
if last_updated is None:
|
||||||
last_updated = date_from_str(last_updated_text).strftime("%Y%m%d")
|
last_updated = date_from_str(last_updated_text).strftime("%Y%m%d")
|
||||||
except:
|
except ValueError:
|
||||||
last_updated = None
|
last_updated = None
|
||||||
else:
|
else:
|
||||||
renderer = try_get(
|
renderer = try_get(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue