1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-24 20:25:41 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Johan Andersson
1e501bc7b9 aftonbladet: check if we got any streams or not 2015-02-17 13:41:25 -08:00
Johan Andersson
f5eb3c8749 Support for exclude filenames with WORD in them.
this fixes #190
2014-12-22 17:41:40 +01:00
Johan Andersson
67b3c8bb54 Rewrite http request handling. 2014-12-08 23:07:02 +01:00
Johan Andersson
3ba343b479 Try and catch some http errors. 2014-11-25 23:20:14 +01:00
Johan Andersson
cd9cc95dfa Remove unused import sys. 2014-11-25 21:47:29 +01:00
Johan Andersson
b505a03d3c service: replace sys.exit with return 2014-11-25 19:03:24 +01:00
Johan Andersson
97e67bc7af aftonbladet: change format again. 2014-10-05 20:44:57 +02:00
Johan Andersson
b567f0b983 aftonbladet: remove old debug data. 2014-09-28 23:33:49 +02:00
cybjit
4221a94d10 use log instead of print 2014-09-28 22:56:57 +02:00
Johan Andersson
fdd09734db aftonbladet: support for hls “master” playlist.
this fixes #135
2014-09-27 22:37:12 +02:00
Johan Andersson
eb21340039 aftonbladet: support for akamai streams. 2014-07-14 14:49:03 +02:00
Johan Andersson
3f4bdd58d8 service: copy options to fetcher 2014-06-07 20:48:54 +02:00
Johan Andersson
50dfb1c159 aftonbladet: convert into new video fetcher 2014-06-02 21:27:49 +02:00
Johan Andersson
134dcb1367 aftonbladet: they changed how hls works. 2014-05-01 22:11:54 +02:00
Anders Waldenborg
baa8d76551 Add get_urldata() method to service
self.get_urldata() is eqivalent to get_http_data(self.url), but
also caches the data, so no additional requests are made if it
is called multiple times (e.g when grabbing title or downloading
thumbnail).

Generic().get(url) still causes it to be fetched an extra time.
2014-02-18 19:00:20 +01:00
Olof Johansson
38b3c7820b hls: automatically detect baseurl 2014-02-08 17:40:25 +01:00
Olof Johansson
b50fd6b907 Fix pylint anomalous-backslash-in-string warnings
Also, avoid having to escape " in strings by delimiting it with '
instead.
2014-02-08 17:31:54 +01:00
Johan Andersson
701ce4fcdc aftonbladet: support for the new site 2014-02-05 23:15:19 +01:00
Anders Waldenborg
f331a653b6 Move url to object attribute 2014-01-25 22:57:50 +01:00
Olof Johansson
9f9bcad0c7 Add default handle method in Service base class
The default handle method will look for a supported_domains attribute
(a list), containing the supported domains. The subclassed service
class can of course override this if other means of determining support
is needded.
2014-01-01 16:22:07 +01:00
Olof Johansson
bd1ae14e53 Isolate py3/2.7 conditional imports to own modules 2013-04-21 13:45:43 +02:00
Olof Johansson
e9bd5b8004 Make all services inherit svtplay_dl.service.Service 2013-04-21 13:45:43 +02:00
Johan Andersson
cfd20232ab Rename module from lib/svtplay to lib/svtplay_dl
less confusion with the service.
2013-03-17 19:55:19 +01:00