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

331 Commits

Author SHA1 Message Date
Johan Andersson
0066059396 remove some unused variables 2012-12-29 21:15:53 +01:00
Johan Andersson
681ab6952c Use options instead of init function. 2012-12-29 21:01:57 +01:00
Johan Andersson
66559671b5 Cosmetics 2012-12-28 14:59:34 +01:00
Johan Andersson
68e6e455ad svt.se: merge this into svtplay 2012-12-24 15:58:35 +01:00
Johan Andersson
8c144104cf output: fix so we can see the name again. 2012-12-23 19:35:36 +01:00
Johan Andersson
4ada4c3efb tv4play: add support for live streams 2012-12-23 18:23:49 +01:00
Johan Andersson
0eac2ddb3b tv4play: adding support for HDS 2012-12-23 18:12:23 +01:00
Johan Andersson
eb0b488b10 svtplay: dont crash when it cant find any streams
In some cases we cant download any videos. when they are only
provided for flash users and not iOS users.
2012-12-23 18:04:10 +01:00
Johan Andersson
6e23d6db54 rename logger to log 2012-12-23 18:01:16 +01:00
Markus Helgesson
0f71269e65 Restructure so the script to be included and used from other Python scripts.
* Renamed 'svtplay-dl' to 'svtplay_dl.py' which conforms with the Python
  guidelines and can be imported from other scripts (names with '-' cannot).
* Created the wrapper 'svtplay-dl' for backward compatability.
* Broke out the major parts of main() into get_media()
* New Options class corresponding to the command line parameters.
* Modified how the log used and progress information written so they can be
  easily configured by the caller.
2012-12-23 16:52:07 +01:00
Johan Andersson
059d91389a Added MIT license 2012-12-23 15:44:15 +01:00
Johan Andersson
708c0b8de3 Merge branch 'master' of github.com:spaam/svtplay-dl 2012-12-23 15:27:56 +01:00
Johan Andersson
878962186e Merge pull request #16 from olof/topic/progressbar
Print a progressbar when downloading with HDS/HLS
2012-12-23 03:27:16 -08:00
Olof Johansson
a755339fb2 Print a progressbar when downloading with HDS/HLS 2012-12-21 23:28:37 +01:00
Johan Andersson
a3cd7d4966 svtplay: fix a crash when bitrate is not zero 2012-11-23 16:46:54 +01:00
Johan Andersson
51a490274b tv4play: change the .swf file to the right one. 2012-11-10 23:56:06 +01:00
Johan Andersson
ef04b22403 Write an error message for a site that is not suppported. 2012-11-08 21:27:05 +01:00
Johan Andersson
bc41cf1efb Better variable name insted of kalle. 2012-11-08 21:16:50 +01:00
Johan Andersson
2b3d7119bd HTTP Live Streaming support.
If the user install pycrypto it will work with encrypted streams
from svtplay for example.
2012-11-08 20:47:39 +01:00
Johan Andersson
882b5dd810 left over code 2012-10-28 10:40:25 +01:00
Johan Andersson
edd38ec5ef HDS: some fixes for python2.6 2012-10-28 10:31:48 +01:00
Johan Andersson
2e25848cbc HDS: adding file extenion.
Adding a file extension when the output file does not have one.
2012-10-26 21:39:25 +02:00
Johan Andersson
8e35da0add HDS: adding some kind of progressbar. 2012-10-26 21:17:38 +02:00
Johan Andersson
88b84c1ae2 tv4play: changed the get variable from videoid to video_id 2012-10-26 21:08:12 +02:00
Johan Andersson
acbd10e8dc HTTP dynamic streaming support.
HDS support for svtplay
2012-10-26 21:08:11 +02:00
Johan Andersson
efbcd7b35a Merge pull request #10 from olof/fix/oserror_exception_message
Don't assume file not found on OSError exception
2012-08-30 10:51:16 -07:00
Olof Johansson
88565d01a6 Don't assume file not found on OSError exception 2012-08-30 19:03:31 +02:00
Johan Andersson
e6aeec9d9b Now we only accept [a-zA-Z0-9] in extention with automagic 2012-08-29 23:15:31 +02:00
Johan Andersson
fc4fe31a26 Show a error msg when the script cant find rtmpdump 2012-08-15 20:30:05 +02:00
Johan Andersson
dccce47807 Viaplay: fix for tv3play 2012-07-30 19:09:20 +02:00
Johan Andersson
f155eba822 Svtplay: automagic get the right .swf file 2012-07-28 16:38:12 +02:00
Johan Andersson
c3c7b18f1b Update the version number 2012-07-27 21:41:01 +02:00
Johan Andersson
f53ec6c798 Update the swf file for svtplay 2012-07-27 21:40:30 +02:00
Johan Andersson
87be9f643b Fix for svt.se and choosing quality 2012-06-07 20:11:43 +02:00
Johan Andersson
3daea202c1 Svtplay: support for the new version 2012-06-04 18:11:44 +02:00
Johan Andersson
1a0c3e4693 Store quality as integers and not strings 2012-05-22 21:32:03 +02:00
Johan Andersson
f12287a949 Select_quality takes integers and not strings 2012-05-22 00:22:28 +02:00
Johan Andersson
01279d018e New version 0.7.2012.05.22 2012-05-22 00:12:40 +02:00
Johan Andersson
8602acf598 Fixed a bug in select_quality.
When select quality was moved out to its own function it stoped
working and show what kind of quality to choose from.
2012-05-21 23:45:44 +02:00
Johan Andersson
034cb204d3 Support for videos from beta.svtplay.se 2012-05-21 23:30:29 +02:00
Anders Waldenborg
67cc4de993 Cleanup select_quality so quality comes from options 2012-05-20 22:09:18 +02:00
Anders Waldenborg
a730811992 Also use select_quality in svtplay 2012-05-20 22:04:01 +02:00
Anders Waldenborg
4f9b60200c Move some common code into select_quality function 2012-05-20 21:56:04 +02:00
Anders Waldenborg
c44a9689d6 Move getrtmp out of Common (which disappers now) 2012-05-20 21:11:48 +02:00
Anders Waldenborg
b877d05502 Move gethttp out of Common 2012-05-20 21:07:37 +02:00
Anders Waldenborg
f406a3c935 Move getdata out of Common 2012-05-20 20:38:15 +02:00
Anders Waldenborg
6b380b6a46 Clean up argument handling in getrtmp 2012-05-20 20:33:33 +02:00
Anders Waldenborg
e4a0254fc8 Rework to use standard logging module 2012-05-19 23:56:57 +02:00
Anders Waldenborg
a97a2a599a Remove to_consoleb 2012-05-19 23:56:57 +02:00
Anders Waldenborg
4300e92eca Fix stdout for justin.tv 2012-05-19 23:56:57 +02:00