Johan Andersson
49a92b98f8
svtplay: they removed playertype from jsonfile.
2013-05-06 12:17:46 +02: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
Johan Andersson
06368689de
Qbrick: this condition never happen
2013-05-03 16:59:40 +02:00
Johan Andersson
aede0ce993
Qbrick: support for sydsvenskan.se
2013-05-03 16:51:18 +02:00
Johan Andersson
98ccd0573b
qbrick: fixed detection for di.se videos.
2013-04-29 14:34:03 +02:00
Olof Johansson
0cbe97ee2d
Disable pylint W0511 (TODO/FIXME warnings)
2013-04-27 13:51:23 +02:00
Olof Johansson
73694a1703
get_http_data: Create Request object
...
The OpenerDirector does not support .adddata(), but it OpenerDirector.open()
does accept being passed a Request object.
2013-04-27 13:46:38 +02:00
Olof Johansson
a688e0494f
kanal5: Don't redefine builtin "format"
2013-04-27 13:27:30 +02:00
Olof Johansson
32cf9ff45f
mtvservices: minor pylint cleanup
2013-04-27 13:26:19 +02:00
Olof Johansson
c9b38e21f6
Don't use deprecated builtin map()
2013-04-27 13:25:31 +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
15af22000b
utils.io: Forgot to add pylint disable for E0611
2013-04-27 13:05:10 +02:00
Johan Andersson
aad1993d4e
0.9.2013.04.22
2013-04-22 09:45:10 +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
Johan Andersson
7feba77677
Support for Mtvservices (thedailyshow & colbertnation)
2013-04-21 21:51:45 +02:00
Johan Andersson
97254dd9f2
Merge pull request #41 from olof/pylint-fixes
...
Pylint fixes
2013-04-21 11:00:16 -07:00
Olof Johansson
23ed1b840b
Restructure makefiles
...
This change makes it easier to add new packages; it's only necessary
to update the sub makefile (lib/Makefile) and add new packaes to the
PACKAGES variable.
2013-04-21 14:10:30 +02:00
Olof Johansson
bd1ae14e53
Isolate py3/2.7 conditional imports to own modules
2013-04-21 13:45:43 +02:00
Olof Johansson
119a49b0d2
utils: import socket
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
Olof Johansson
2d2cead9bc
hls: catch KeyError exception by name
2013-04-21 13:45:43 +02:00
Olof Johansson
8d605f2819
Remove unused variable warnings
2013-04-21 13:45:43 +02:00
Olof Johansson
607d6b57ec
utils: Remove unused arguments for get_http_data()
2013-04-21 13:45:43 +02:00
Olof Johansson
a0b7a755dc
service.sr: use if "foo" in dict instead of catching KeyError
2013-04-21 13:45:43 +02:00
Olof Johansson
eef049cc0c
hds: remove swf argument (it was unused)
2013-04-21 13:45:43 +02:00
Olof Johansson
a4202238c9
Remove unused imports
2013-04-21 13:45:43 +02:00
Olof Johansson
5dd180d414
Add cover directory to .gitignore
2013-04-21 13:45:06 +02:00
Olof Johansson
2e4a2d4ce6
Also ignore refactor pylint warnings (for now)
2013-04-21 13:45:06 +02:00
Olof Johansson
4268696062
Pylint: ignore convention warnings (for now)
2013-04-21 11:32:13 +02:00
Olof Johansson
7ff8fa8a61
Set PYTHONPATH in Makefile to fix pylint warnings
...
pylint had issues with importing some modules because it lacked
"lib" in the PYTHONPATH.
2013-04-21 11:26:43 +02:00
Olof Johansson
79f9eb3dee
Add cover target to Makefile
2013-04-21 10:48:20 +02:00
Olof Johansson
281d913a73
run_tests: Generate coverage report in HTML
...
If run_tests is called with the -C flag, a cover/ directory is
created with a detailed coverage report in HTML.
2013-04-21 10:45:57 +02:00
Olof Johansson
b0a5d4f59e
run_tests: Only do coverage reports on svtplay_dl.*
2013-04-21 10:45:35 +02:00
Johan Andersson
2550035499
Merge pull request #40 from olof/topic/output.progress_fixmes
...
Fix some svtplay_dl.output related fixmes
2013-04-19 09:20:46 -07:00
Olof Johansson
1372a4e12e
svtplay_dl.tests.output: initial set of unit tests for progress()
2013-04-19 18:12:36 +02:00
Olof Johansson
b31834fd6e
svtplay_dl.output: Make progress() wrap progressbar()
...
The progressbar() currently does not handle the case where the total size is
unknown. But with this change, progress() will internally use progressbar()
for its bar generation, while still supporting a more basic progress info when
total size is unknown.
2013-04-19 17:44:21 +02:00
Olof Johansson
ae8fda8963
svtplay_dl.output: prettier progressbar generation
2013-04-19 17:39:25 +02:00
Johan Andersson
5ef5e850e4
2013-04-17
2013-04-17 09:42:28 +02:00
Olof Johansson
b931d58319
Add unit test for oppetarkiv.se
2013-04-16 17:51:31 +02:00
Johan Andersson
d174925bab
Adding oppetarkiv.se to README.md
2013-04-16 13:22:28 +02:00
Johan Andersson
4ebf565652
svtplay: support for oppetarkiv.se
2013-04-16 13:18:40 +02:00
Johan Andersson
514ed7e546
python3 fixes, urlparse and addinfourl.
2013-04-14 21:26:39 +02:00
Johan Andersson
c47fae0cb4
justin.tv: fixes for swf-file
2013-04-14 21:08:12 +02:00
Johan Andersson
5353ee8160
update svtplay-dl
2013-04-02 15:33:15 +02:00
Johan Andersson
c4382d3d1b
Merge branch 'master' of github.com:spaam/svtplay-dl
2013-04-02 15:31:16 +02:00
Johan Andersson
b9cdaf4870
update svtplay-dl script
2013-04-02 15:30:26 +02:00
Johan Andersson
1dfc3909f1
update version number
2013-04-02 15:29:36 +02:00