1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 12:15:40 +01:00

remove old subtitle functions from kanal5 and svtplay

This commit is contained in:
Johan Andersson 2014-04-21 20:29:55 +02:00
parent 895623f601
commit f5cf37c4a9
2 changed files with 0 additions and 12 deletions

View File

@ -69,8 +69,3 @@ class Kanal5(Service):
sys.exit(2)
options.other = "-W %s -y %s " % ("http://www.kanal5play.se/flash/K5StandardPlayer.swf", i["source"])
yield RTMP(options, steambaseurl, i["bitrate"])
def get_subtitle(self, options):
if self.subtitle:
data = get_http_data(self.subtitle, cookiejar=self.cj)
subtitle_json(options, data)

View File

@ -72,13 +72,6 @@ class Svtplay(Service, OpenGraphThumbMixin):
else:
yield HTTP(options, i["url"], "0")
def get_subtitle(self, options):
if self.subtitle:
if options.output != "-":
data = get_http_data(self.subtitle)
subtitle_wsrt(options, data)
def find_all_episodes(self, options):
match = re.search(r'<link rel="alternate" type="application/rss\+xml" [^>]*href="([^"]+)"',
self.get_urldata())