From: Jaime Marquínez Ferrándiz Date: Sun, 9 Mar 2014 17:13:17 +0000 (+0100) Subject: [jukebox] Modernize and add a test X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=b4a186b7be4d0496b70c61ea58e5376885d3975f;p=youtube-dl [jukebox] Modernize and add a test --- diff --git a/youtube_dl/extractor/jukebox.py b/youtube_dl/extractor/jukebox.py index 592c64e1d..f06dcb05e 100644 --- a/youtube_dl/extractor/jukebox.py +++ b/youtube_dl/extractor/jukebox.py @@ -1,56 +1,61 @@ -# coding: utf-8 +from __future__ import unicode_literals + import re from .common import InfoExtractor from ..utils import ( ExtractorError, + RegexNotFoundError, unescapeHTML, ) + class JukeboxIE(InfoExtractor): _VALID_URL = r'^http://www\.jukebox?\..+?\/.+[,](?P[a-z0-9\-]+)\.html' - _IFRAME = r'