logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 0c1c6f4b9f97375ffc68cbc9c7276838f7bf8514
parent 6d119c2a6bdd2a987ef2e7553b357bd4a3f18690
Author: Yen Chi Hsuan <yan12125@gmail.com>
Date:   Mon, 23 Jan 2017 23:31:43 +0800

[utils] Add another date format seen in NextTV

Diffstat:

Myoutube_dl/utils.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py @@ -143,6 +143,7 @@ DATE_FORMATS = ( '%Y/%m/%d', '%Y/%m/%d %H:%M', '%Y/%m/%d %H:%M:%S', + '%Y-%m-%d %H:%M', '%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%d.%m.%Y %H:%M',