Johan Andersson
aad965b8b6
generic: replace & with & on svt.se
2014-03-25 20:22:21 +01:00
Johan Andersson
24dd893fca
picsearch: New service.
...
DN.se is using picsearch now days instead of qbrick
2014-03-25 15:37:41 +01:00
Olof Johansson
1850c0473d
service: silence unused-argument warning from pylint
...
The options parameter is unused, but is part of the interface, so
we don't want to remove it.
2014-03-19 23:03:28 +01:00
Anders Waldenborg
6799899bcf
Add --all-episodes option (for svt only currently)
2014-02-18 19:00:20 +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
Anders Waldenborg
904e16d457
Split out opengraph getter to separate function
...
...and add doctests
2014-02-18 19:00:20 +01:00
Johan Andersson
c7634399a7
generic: detect embeded svtplay streams
2014-02-08 22:47:47 +01:00
Johan Andersson
701ce4fcdc
aftonbladet: support for the new site
2014-02-05 23:15:19 +01:00
Johan Andersson
a3c74d2ac1
generic: support for embed bambuser streams
2014-02-05 20:43:28 +01:00
Johan Andersson
ab4d50beed
bambuser: new service
2014-02-05 20:43:28 +01:00
Johan Andersson
2844e0dc33
generic: detect embeded tv4play streams
2014-02-04 20:20:36 +01:00
Johan Andersson
77e2235b48
OpenGraphThumbMixin: more matches for this.
...
I saw this variant on dn.se
2014-01-26 01:19:17 +01:00
Anders Waldenborg
b1871b3834
Add --thumbnail
...
Names thumbnails as $basename.tbn (Hi xbmc!)
2014-01-25 22:57:50 +01:00
Anders Waldenborg
9804d80302
Split subtitle getting to separate method
2014-01-25 22:57:50 +01:00
Anders Waldenborg
f331a653b6
Move url to object attribute
2014-01-25 22:57:50 +01:00
Anders Waldenborg
231eaf00e6
Make Service.handles a classmethod
...
This way it can be called without instantiating the class.
2014-01-25 22:57:49 +01:00
Johan Andersson
c24123dc61
service: missing urlparse for py3
2014-01-05 17:28:00 +01:00
Olof Johansson
e838384c52
Support supported_domains regexp for services
...
Lets services with more complex domains (like domains with language/country
codes) use a regular expressions that will match the supported domains for
the handles() method.
2014-01-01 16:22:07 +01:00
Olof Johansson
436090ddf9
Rename Service's handle method to handles
...
handle can be ambiguous (i.e, not a verb).
Signed-off-by: Olof Johansson <olof@ethup.se>
2014-01-01 16:22:07 +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
8535e6f106
generic: catch embed svt videos.
2013-11-14 22:43:39 +01:00
Johan Andersson
f7760ee640
Adding missing r prefixes to regex string
2013-05-05 12:57:42 +02:00
Johan Andersson
7feba77677
Support for Mtvservices (thedailyshow & colbertnation)
2013-04-21 21:51:45 +02:00
Johan Andersson
78d5b2a212
Generic: embeded tv4play videos
2013-03-24 14:55:14 +01:00
Johan Andersson
01bb02ea68
Fix so embedded videos works again
2013-03-23 16:11:36 +01:00
Johan Andersson
0ae6ec8634
service: move sites variable out from handler
2013-03-23 15:58:15 +01:00
Johan Andersson
56304a36c6
Move classes under the imports in service/
2013-03-23 15:56:25 +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