From 2db634796bd5426c11f7849ce480265091f128c8 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 13 Apr 2015 17:34:59 +0200 Subject: Cleanup (2) --- pyload/plugin/hoster/ZDF.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'pyload/plugin/hoster/ZDF.py') diff --git a/pyload/plugin/hoster/ZDF.py b/pyload/plugin/hoster/ZDF.py index 6f17df61a..c02eadc23 100644 --- a/pyload/plugin/hoster/ZDF.py +++ b/pyload/plugin/hoster/ZDF.py @@ -23,8 +23,6 @@ class ZDF(Hoster): @staticmethod - - def video_key(video): return ( int(video.findtext("videoBitrate", "0")), @@ -33,16 +31,12 @@ class ZDF(Hoster): @staticmethod - - def video_valid(video): return video.findtext("url").startswith("http") and video.findtext("url").endswith(".mp4") and \ video.findtext("facets/facet").startswith("progressive") @staticmethod - - def get_id(url): return int(re.search(r"\D*(\d{4,})\D*", url).group(1)) -- cgit v1.2.3