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

848 Commits

Author SHA1 Message Date
Johan Andersson
b5ea350c0f Move options to when we init the service class 2015-12-26 11:46:14 +01:00
Johan Andersson
7dea8c80ba tv4play: detect which program the video belongs too.
fixes #313
2015-12-15 00:43:44 +01:00
Johan Andersson
d0e6d8584c tv4play: find id for clips too
fixes #313
2015-12-15 00:30:40 +01:00
Johan Andersson
4240cc0e6f dplay: support for dplay.dk and it.dplay.com 2015-11-29 22:50:15 +01:00
Johan Andersson
5c1d32dca8 Prepare for release 0.20.2015.11.29 2015-11-29 17:36:03 +01:00
Johan Andersson
287f10d36e get_one_media: remove sys.exit
Fixes #304
2015-11-29 17:27:43 +01:00
Johan Andersson
e9ab24f687 facebook: update path for video 2015-11-29 16:46:24 +01:00
Johan Andersson
fb4de6fb3b mtvnn: support for comedycentral.se
this fixes #306
2015-11-29 16:46:24 +01:00
Johan Andersson
144b79e1b8 picsearch: detect live video 2015-11-29 16:46:24 +01:00
Johan Andersson
a6a3cfce18 dplay: dont crash when accessing a program page instead of video 2015-11-29 16:46:24 +01:00
Björn Dahlgren
4d972063d2 Fixed TV4Play geoblock error text
Fixes: #308
2015-11-23 18:54:07 +01:00
Olof Johansson
50eba055a5 sr: Find URLs with either playepisode= or playaudio= params
Fixes #295
2015-11-23 18:46:17 +01:00
Johan Andersson
f606775eb6 dr: dont crash when there is no subtitles. 2015-11-15 18:21:42 +04:00
Johan Andersson
c78960d2b8 hlsparse: this should be HLS and not HDS 2015-11-15 18:21:05 +04:00
Johan Andersson
db13aa6bb3 get_one_media: only print error messages when we dont have any videos 2015-11-15 18:20:16 +04:00
Johan Andersson
ba4b36e43e ruv: print the url instead of %s 2015-11-15 15:48:24 +04:00
Johan Andersson
a6e292cfee dbtv: the videoid is int in the json file 2015-11-15 15:48:24 +04:00
Johan Andersson
7d9f18de79 lemonwhale: they use json now and not xml anymore 2015-11-15 15:48:24 +04:00
Johan Andersson
4c6884e3b9 vimeo: they changed the format of the json file 2015-11-15 15:48:24 +04:00
Johan Andersson
03d05dddb3 bambuser: we should use text instead of content 2015-11-15 15:48:24 +04:00
Johan Andersson
5928df5f3c picsearch: better error message when the video is not available 2015-11-15 15:48:24 +04:00
Olof Johansson
0ead96f03e Log all errors, and exit with failure if no video found
Fixes #301
2015-11-04 21:11:16 +01:00
Johan Andersson
409310252d dplay: support for subtitles 2015-10-30 00:54:18 +01:00
Johan Andersson
e1cb21c20a subtitle: raw type 2015-10-30 00:51:35 +01:00
Johan Andersson
2998080bc0 dplay: support for all episodes
fixes #296
2015-10-30 00:29:48 +01:00
Johan Andersson
e0b1ba67ba dplay: use video_metadata_show instead 2015-10-29 22:44:13 +01:00
Johan Andersson
95cfe922bf dplay: support for premium content 2015-10-29 22:42:27 +01:00
Johan Andersson
31575abc51 hls: parsem3u dont crash when EXT-X- is one 2015-10-29 22:15:14 +01:00
Johan Andersson
68f300ec05 dplay: better names for output file 2015-10-29 19:32:38 +01:00
Johan Andersson
25f24a369e big brother: fail on premium instead of crash 2015-10-29 19:32:12 +01:00
Johan Andersson
8f33c450bc bigbrother: support for progressive download 2015-10-29 18:20:17 +01:00
Johan Andersson
cfbb068474 svtplay: simplify json url 2015-10-29 18:08:25 +01:00
Johan Andersson
08752c3c85 Prepare for release 0.20.2015.10.25 2015-10-25 22:51:44 +01:00
Johan Andersson
6a7cdc4b8f Merge pull request #292 from olof/fix_filenamify_docstring_dots_doctest
Fix docstring after the filenamify changes (f3aba4e59)
2015-10-25 20:43:48 +01:00
Johan Andersson
320cdda374 Merge pull request #293 from olof/allow_metachars_in_outputfile
Don't workaround windows cmdline parsing brokeness
2015-10-25 19:56:04 +01:00
Olof Johansson
270a64c6af Fix docstring after the filenamify changes (f3aba4e59)
This caused the test suite to fail because of doctest.
2015-10-25 19:49:03 +01:00
Olof Johansson
44293899fc Don't workaround windows cmdline parsing brokeness
We should be able to assume that if we see literal " in the name of the
output file, the user really wants the quotes. Assuming otherwise opens a
can of worm. What else can't we trust in the environment?

On the Windows command line, \ has special meaning in strings, and it's not
the same as on normal platforms: it only has special meaning if it's
immediately followed by a " character, in which it case it will make the "
character be interepreted literally. That's what we've been seeing.

Incorrect command line on windows:

     python svtplay-dl -o "C:\foo\"

Correct command line on windows:

     python svtplay-dl -o "C:\foo\\"

This has been made harder to pinpoint because of the forgiving nature of
command line parsing on windows. For instance: The following command was
reported to work:

     python svtplay-dl http://example.com/ -o "C:\foo\"

But only if the -o flag was the last argument. (Unclear if the trailing "
was passed on to the program or not.)

Reference: https://msdn.microsoft.com/en-us/library/windows/desktop/17w5ykft(v=vs.85).aspx
2015-10-25 19:41:39 +01:00
Johan Andersson
739565cd27 hls, hds, http: its should be “and” and not “or” 2015-10-25 19:24:14 +01:00
Johan Andersson
6b240e2f24 hds: support for silent 2015-10-25 18:23:39 +01:00
Johan Andersson
626bef92d5 hls: support for silent 2015-10-25 18:23:28 +01:00
Johan Andersson
78d962d05e http: support for silent 2015-10-25 18:23:16 +01:00
Johan Andersson
f7442661f1 options: get_url need to be here 2015-10-25 18:16:30 +01:00
Johan Andersson
8129a49348 subtitle: we need to tell the file is utf-8 on windows and py3 2015-10-25 17:19:16 +01:00
Johan Andersson
a98e6046be output: add kwargs as argument 2015-10-25 17:18:40 +01:00
Johan Andersson
9f602c1fb1 urplay: support for betaplay 2015-10-25 16:15:26 +01:00
Johan Andersson
e2a816127e urplay: rtmp is so 90s. removing it 2015-10-25 16:15:26 +01:00
Johan Andersson
f549a567e4 Merge pull request #273 from leakim/master
fix crach on empty error array cause by no streams
2015-10-25 16:12:08 +01:00
Olof Johansson
647fed8bda svtplay: Catch media without any videoReferences
This happens when they publish information about the TV episode before
publishing the video stream. Probably due to some bug in SVT Play. The
web player is also unable the play the video, reporting "Can't play
the program, try again later".
2015-10-25 15:50:52 +01:00
Johan Andersson
c453f7c48b filenamify: remove “ and ‘
fix #289
2015-10-25 01:29:04 +02:00
Johan Andersson
c69803681e output: we only want to look at the 2-3 last chars.
fix #284
2015-10-24 22:04:09 +02:00