Johan Andersson
389b21bde5
pre-commit: use a newer pyupgrade version
2020-05-03 11:35:03 +02:00
Johan Andersson
4e187f9553
pre-commit: its a good thing to commit config...
2019-09-06 22:49:49 +02:00
Johan Andersson
3aef9a796e
black fixes
2019-09-06 22:31:52 +02:00
Johan Andersson
7f0cf6eb82
pre-commit: reorder imports
2019-09-06 22:09:07 +02:00
Johan Andersson
e9b16fda77
pre-commit: pyupgrade
2019-09-06 22:09:07 +02:00
Johan Andersson
e105855fb7
pre-commit: black fixes
2019-09-06 22:09:07 +02:00
Johan Andersson
c5b436e20e
services: add output variable to fetchers
2018-05-21 00:56:22 +02:00
Johan Andersson
ca49366002
Options to config
2018-05-13 13:06:45 +02:00
Johan Andersson
b8c1163852
remove a bunch of is_py. time for py3.
2018-05-13 12:08:11 +02:00
Johan Andersson
804b869644
service: change str formating from '%s' to '.format'
2017-10-09 22:35:13 +02:00
Johan Andersson
fa730a5564
remove options in argument for exclude
2016-05-14 22:54:30 +02:00
Johan Andersson
b5ea350c0f
Move options to when we init the service class
2015-12-26 11:46:14 +01:00
Johan Andersson
dc2cc0294c
pip8. expected 2 lines found 1
2015-09-15 20:10:32 +02:00
Johan Andersson
1e6de72d64
Better excluding message
...
fixing #198
2015-09-06 23:04:48 +02:00
Johan Andersson
acf526c54a
Show only one error message instead of two
2015-09-06 14:19:10 +02:00
Johan Andersson
331de0a70f
replace self.http.get with our own function with debug info
2015-08-31 19:45:15 +02:00
Johan Andersson
d51e513c17
More request fixes
2015-08-30 11:27:31 +02:00
Johan Andersson
84ee181f5b
adding request support.
...
still need some more work
2015-08-30 00:06:20 +02: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
282a9cd273
mtvservices: data input to re.search
2014-12-22 11:02:28 +01:00
Johan Andersson
67b3c8bb54
Rewrite http request handling.
2014-12-08 23:07:02 +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
3f4bdd58d8
service: copy options to fetcher
2014-06-07 20:48:54 +02:00
Johan Andersson
df6d64d218
Unused import select_quality
2014-06-02 21:27:49 +02:00
Johan Andersson
6cbc1fd503
mtvservices: convert into new video fetcher
2014-06-02 21:27:48 +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
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
9345284547
Make pylint bit happier
2013-12-30 01:43:59 +01:00
Johan Andersson
33bb2c5c13
Replace sys.version_info with pyX
2013-12-30 01:35:08 +01:00
Johan Andersson
f7760ee640
Adding missing r prefixes to regex string
2013-05-05 12:57:42 +02:00
Johan Andersson
195e3b7184
Mtvservices: better error message
...
Print a better error message when the video is not available
2013-05-05 12:35:49 +02:00
Olof Johansson
32cf9ff45f
mtvservices: minor pylint cleanup
2013-04-27 13:26:19 +02:00
Johan Andersson
dd763ce846
Cosmetic fixes
2013-04-21 22:59:27 +02:00
Johan Andersson
447528d4c5
mtvservices: better error message.
2013-04-21 22:58:34 +02:00
Johan Andersson
078df0b3e5
forgot to add mtvservices.py
2013-04-21 21:59:25 +02:00