From e4e47f02031eb2efdf7485da642dfac316653e7f Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 25 Mar 2017 21:47:12 -0400 Subject: [PATCH] added a comment, probably unnecessary --- youtube_dl/YoutubeDL.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 67a6c92d4..ab72bdd4f 100755 --- a/youtube_dl/YoutubeDL.py +++ b/youtube_dl/YoutubeDL.py @@ -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: