mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
remove old subtitle functions from kanal5 and svtplay
This commit is contained in:
parent
895623f601
commit
f5cf37c4a9
@ -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)
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user