mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-01-08 14:17:54 +01:00
got rid of try-except
This commit is contained in:
parent
5d268cfe59
commit
900fd59355
@ -951,11 +951,9 @@ class YoutubeDL(object):
|
|||||||
download=download,
|
download=download,
|
||||||
extra_info=extra)
|
extra_info=extra)
|
||||||
|
|
||||||
try:
|
entry_result_uploaddate = entry_result.get('upload_date')
|
||||||
if self.params.get('date_ordered_playlist') and entry_result.get('upload_date') not in self.params.get('daterange'):
|
if self.params.get('date_ordered_playlist') and entry_result_uploaddate not in self.params.get('daterange'):
|
||||||
break
|
break
|
||||||
except TypeError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
playlist_results.append(entry_result)
|
playlist_results.append(entry_result)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user