From 2ccd1b10e58cc8e5173dc1aeedc2b3f0ef9b55bf Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sun, 4 Jan 2015 02:20:45 +0100 Subject: [PATCH] [soulanime] Fix under Python 3 --- youtube_dl/extractor/soulanime.py | 10 ++++++++-- youtube_dl/utils.py | 11 +++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/soulanime.py b/youtube_dl/extractor/soulanime.py index 7adb10c039..feef33e275 100644 --- a/youtube_dl/extractor/soulanime.py +++ b/youtube_dl/extractor/soulanime.py @@ -3,6 +3,10 @@ from __future__ import unicode_literals import re from .common import InfoExtractor +from ..utils import ( + HEADRequest, + urlhandle_detect_ext, +) class SoulAnimeWatchingIE(InfoExtractor): @@ -31,8 +35,10 @@ class SoulAnimeWatchingIE(InfoExtractor): r'
[^<]*