mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-30 04:08:01 +01:00
date bug fix
This commit is contained in:
parent
63cc9b4110
commit
d61d495d5e
@ -494,7 +494,7 @@ class NicovideoIE(SearchInfoExtractor):
|
|||||||
# is a guarantee that the number of pages in the search results will not exceed 50. For any given search for a day, we extract everything available, and move on, until
|
# is a guarantee that the number of pages in the search results will not exceed 50. For any given search for a day, we extract everything available, and move on, until
|
||||||
# finding as many entries as were requested.
|
# finding as many entries as were requested.
|
||||||
currDate -= datetime.timedelta(days=1)
|
currDate -= datetime.timedelta(days=1)
|
||||||
if(len(entries) >= n or currDate < datetime.datetime(2007, 1, 1)):
|
if(len(entries) >= n or currDate < datetime.date(2007, 1, 1)):
|
||||||
break
|
break
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user