From ddbd9035764678fbd698a8e5358a8cfbdfe0dfe9 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 27 Jun 2013 20:32:02 +0200 Subject: [PATCH] Tests: Add coding to files --- youtube_dl/extractor/infoq.py | 2 +- youtube_dl/extractor/youku.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/infoq.py b/youtube_dl/extractor/infoq.py index 9a13c52a8..c79c589c7 100644 --- a/youtube_dl/extractor/infoq.py +++ b/youtube_dl/extractor/infoq.py @@ -20,7 +20,7 @@ class InfoQIE(InfoExtractor): u"title": u"A Few of My Favorite [Python] Things" }, u"params": { - u"skip_download": true + u"skip_download": True } } diff --git a/youtube_dl/extractor/youku.py b/youtube_dl/extractor/youku.py index 278f72105..eb9829801 100644 --- a/youtube_dl/extractor/youku.py +++ b/youtube_dl/extractor/youku.py @@ -1,3 +1,5 @@ +# coding: utf-8 + import json import math import random @@ -16,7 +18,7 @@ class YoukuIE(InfoExtractor): u"url": u"http://v.youku.com/v_show/id_XNDgyMDQ2NTQw.html", u"file": u"XNDgyMDQ2NTQw_part00.flv", u"md5": u"ffe3f2e435663dc2d1eea34faeff5b5b", - u"params": { u"test": false }, + u"params": { u"test": False }, u"info_dict": { u"title": u"youtube-dl test video \"'/\\ä↭𝕐" } -- 2.39.5