1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-02 13:27:56 +01:00

added a comment, probably unnecessary

This commit is contained in:
Mark 2017-03-25 21:47:12 -04:00
parent 14da409e8f
commit e4e47f0203

View File

@ -966,6 +966,7 @@ class YoutubeDL(object):
entry_result_date_month = int(entry_result_date[4:6])
entry_result_date_day = int(entry_result_date[6:8])
entry_result_date = datetime.date(year=entry_result_date_year, month=entry_result_date_month, day=entry_result_date_day)
# if the entries originate with an info extractor known to return date-sorted results, simply break after we meet the first date out of range
if self.original_ie in reliably_date_ordered_IEs and entry_result_date not in self.params['daterange']:
break
else: