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

199 Commits

Author SHA1 Message Date
Patrik Ragnarsson
08c3924d29 Update README.md
Links to dependencies. Mention the Homebrew formula.
2013-03-02 22:09:51 +01:00
Patrik Ragnarsson
49a3d3abd6 Switch to Markdown for README 2013-03-02 22:09:47 +01:00
Olof Johansson
7f6d4d001e Remove unused import 2013-03-02 22:03:48 +01:00
Olof Johansson
ecb630c51f svtplay.output: Fix unused variable pylint warning 2013-03-02 22:02:52 +01:00
Olof Johansson
a6ec593c0a tests: Silence pylint naming conventions warning
The naming conventions of the unittest module does not adhere to
Python coding standards as specified in PEP8. This isn't our fault
however...
2013-03-02 22:01:25 +01:00
Olof Johansson
d9ad8a1eda Remove __init__.py in module hierarchy topdir 2013-03-02 21:48:12 +01:00
Olof Johansson
81d208dd61 Fix whitespace damage (causing indentation errors) 2013-03-02 21:28:58 +01:00
Olof Johansson
663287b541 Add editor modelines 2013-03-02 21:26:42 +01:00
Olof Johansson
f67c7db5b9 Simple nose-wrapper (--all-tests) 2013-03-02 00:03:48 +01:00
Olof Johansson
1ef76e2f9d Add unit tests for svtplay.output.progressbar 2013-03-02 00:00:32 +01:00
Olof Johansson
53ecb46338 Use absolute_import from __future__ everywhere 2013-03-01 23:39:42 +01:00
Olof Johansson
2affb9aa55 Move handler selection to svtplay.service 2013-02-28 21:44:28 +01:00
Olof Johansson
dacd3e715a ruv: Temporary import modules as lib.*
Need to solve this... later.
2013-02-28 21:43:34 +01:00
Olof Johansson
7a4f76ca95 Fix whitespace damage 2013-02-28 21:27:00 +01:00
Olof Johansson
1fe642593e log: Import correct module (logging, not logger) 2013-02-28 21:26:07 +01:00
Olof Johansson
b3d97c1d75 Fix whitespace damage in docstring
(I don't like trailing whitespace!! :-) And my editor lights up
red when it sees it as well...)
2013-02-28 21:08:41 +01:00
Olof Johansson
ac3a2e6351 Rename svtplay_dl back to svtplay-dl 2013-02-28 21:07:33 +01:00
Olof Johansson
ee1334f389 Clean up svtplay_dl script (remove moved code) 2013-02-12 19:46:21 +01:00
Olof Johansson
c08155a074 Add minimal set of imports for services to work 2013-02-12 19:43:37 +01:00
Olof Johansson
b2635fd52a HBO: Add options argument to get() 2013-02-12 19:43:00 +01:00
Olof Johansson
f786c01c78 svtplay.output: don't import log (not used) 2013-02-12 19:42:17 +01:00
Olof Johansson
caf8ab5d11 Break out HLS fetcher to module 2013-02-12 19:39:52 +01:00
Olof Johansson
60af70bb9d Breakout rtmp fetcher to own module 2013-02-12 19:23:56 +01:00
Olof Johansson
aad4907a4f hds: import progress_stream from svtplay.output 2013-02-12 19:22:22 +01:00
Olof Johansson
6266a757f3 Breakout http fetcher to own module 2013-02-12 19:19:46 +01:00
Olof Johansson
5fed1b2a4a Break out progress() to svtplay.output module
Now it is very clear that progressbar() duplicates an existing function. But
obsoleting one or the other is work for the future.
2013-02-12 19:19:35 +01:00
Olof Johansson
7433c0465e svtplay: Fix import of HLS fetcher 2013-02-12 19:03:53 +01:00
Johan Andersson
e41925987a aftonbladet: handle live streams automagic 2013-02-12 18:52:01 +01:00
Johan Andersson
81c776b94b aftonbladet: get only take 3 arguments. 2013-02-12 18:50:39 +01:00
Mikael Wikström
762cac8084 svtplay: don't crach when using --hls 2013-02-12 18:49:32 +01:00
Olof Johansson
115e795835 Initial work on splitting script to modules
Does not work reliably (downloading SVTPlay videos with HDS may work
if you're lucky).
2013-01-17 00:21:47 +01:00
Johan Andersson
bd0b3eabee Sr: typo in the domainname 2013-01-16 12:22:49 +01:00
Johan Andersson
37d6c75e8e Update README 2013-01-15 18:22:15 +01:00
Johan Andersson
aef318475c kanal9: adding support for kanal5.se 2013-01-15 18:19:03 +01:00
Johan Andersson
7ab00f2d89 options.output failed when the title tag had an attribute 2013-01-15 17:52:04 +01:00
Johan Andersson
e3228813b5 tv4play: crash when there was no subtitle 2013-01-15 17:42:49 +01:00
Johan Andersson
8bb19793fb The old fix didnt work so well on python2. 2013-01-15 17:24:36 +01:00
Johan Andersson
ff73f768f0 tv4play: adding support for tv4.se 2013-01-15 17:20:56 +01:00
Johan Andersson
55782715cb Debug crüft.. 2013-01-14 23:37:10 +01:00
Johan Andersson
5eb0dc0a85 Python3 support for HLS streams. 2013-01-14 23:34:31 +01:00
Johan Andersson
5775317653 Justin: right domain for twitch. 2013-01-14 16:51:27 +01:00
Johan Andersson
96b03b0d7d Introduce .handle function in classes 2013-01-14 16:20:59 +01:00
Johan Andersson
220fa2479d Move code into the classes. 2013-01-14 16:20:59 +01:00
Johan Andersson
3999295024 Merge pull request #19 from antoneliasson/master
Ignore backup copies and compiled Python code in VCS
2013-01-14 07:17:17 -08:00
Anton Eliasson
e9e0705e66 New .gitignore file to make Git ignore backups and compiled Python code
- *~ makes Git ignore backup files created by editors like Emacs and Gedit.
- *.pyc makes Git ignore for example __pycache__/svtplay_dl.cpython-33.pyc
  Since the __pycache__ directory is now considiered empty, it is also ignored.
2013-01-14 16:08:11 +01:00
Johan Andersson
fc1c58acc8 Merge pull request #18 from antoneliasson/master
In method get in class Svtplay: index dict streams by number instead of key for Python 3 compatibility.
2013-01-13 07:56:13 -08:00
Anton Eliasson
4cf75a1b91 In method get in class Svtplay: index dict streams by number
instead of key for Python 3 compatibility.

In Python 2, dict.keys() returned a list but in Python 3 it returns a dict_keys
instance which is not indexable. Details: http://stackoverflow.com/questions/8953627/python-dictionary-keys-error

This patch should be compatible with both Python 2 and 3.
2013-01-13 16:33:53 +01:00
Johan Andersson
b021de9cae svtplay: we can now download all the videos. 2013-01-13 12:54:01 +01:00
Johan Andersson
7fe7d5f321 Cosmetics: whitespaces 2013-01-12 23:07:41 +01:00
Johan Andersson
1209e37616 download_http: forgot a check for options.output 2013-01-12 16:02:57 +01:00