Johan Andersson
db8a50131b
Unused import select_quality
2014-04-27 09:11:58 +02:00
Johan Andersson
153615e918
radioplay: convert into new video fetcher
2014-04-27 09:11:57 +02:00
Olof Johansson
b31f6f6d85
Add editor modelines
2014-03-19 22:45:19 +01: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
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
Johan Andersson
f7760ee640
Adding missing r prefixes to regex string
2013-05-05 12:57:42 +02:00
Olof Johansson
22d06ba0fe
Disable pylint warning E1103 when using urlparse
...
pylint has issues with urlparse, e.g:
Instance of 'ParseResult' has no 'query' member (but some types could not be inferred)
2013-04-27 13:17:00 +02: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
514ed7e546
python3 fixes, urlparse and addinfourl.
2013-04-14 21:26:39 +02:00
Johan Andersson
613b31413d
radioplay: sys.exit is the right one
2013-03-24 20:31:26 +01: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