youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit ae12bc3ebb4cb377c2b4337ec255e652b36f5143
parent e327b736ca6a6a1c880b93e09a3b310c354c2c7c
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat, 31 Oct 2015 23:07:37 +0600

[utils] Make unified_strdate always return unicode string

Diffstat:
Myoutube_dl/utils.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py @@ -910,7 +910,7 @@ def unified_strdate(date_str, day_first=True): timetuple = email.utils.parsedate_tz(date_str) if timetuple: upload_date = datetime.datetime(*timetuple[:6]).strftime('%Y%m%d') - return upload_date + return compat_str(upload_date) def determine_ext(url, default_ext='unknown_video'):