Johan Andersson
37688133b9
nrk: they dont use https for the api call
2016-09-02 00:42:10 +02:00
Johan Andersson
4afc74c415
Merge pull request #403 from sveinhansen/master
...
Changes to nrk web pages:
2016-09-02 00:24:55 +02:00
Johan Andersson
31597808eb
Merge pull request #434 from qnorsten/master
...
svtplay: added support for direct link to rss.xml with -A
2016-09-02 00:09:51 +02:00
Johan Andersson
36c9c08452
viaplay: dont run len on int's to check if its empty string
...
fixes #431
2016-09-02 00:06:31 +02:00
qnorsten
a12ff19606
svtplay: added support for direct link to rss.xml with -A
2016-08-24 00:42:49 +02:00
qnorsten
d2e9edf1e3
svtplay: Fix for sista-chansen. GridStore have been renamed GridPageStore.
2016-08-23 14:27:21 +02:00
Johan Andersson
5394a0f92c
generic: support for finding m3u8 files in source tags
2016-08-23 01:01:31 +02:00
Johan Andersson
74eae8791f
flowonline: add support for the site
...
fixes : #429
2016-08-23 00:59:57 +02:00
Anton
1825ad834e
Update mtvnn.py
2016-08-22 15:32:04 +02:00
Johan Andersson
c799375e73
viaplay: more improvements for viafree with single videos
...
fixes #427
2016-08-21 01:08:39 +02:00
Johan Andersson
4d4ba7afac
viaplay: some cases there is no episode info, use the video id instead.
2016-08-20 17:16:40 +02:00
Johan Andersson
3a788bcfae
twitch: Add support for clips
...
fixes #426
2016-08-20 16:32:12 +02:00
Johan Andersson
f807e67425
svtplay: add support to download genre with -A
...
fixes : #312
2016-08-20 15:51:58 +02:00
Johan Andersson
2716f4bd22
viasatsport: detect live streams.
2016-08-20 15:15:25 +02:00
Johan Andersson
356cdff704
viasatsport: Adding support for vod-videos.
...
fixes : #200
2016-08-20 14:17:54 +02:00
Johan Andersson
ba35ec265b
svtplay: Add support for sista-chansen with -A
...
fixes : #325
2016-08-20 13:52:19 +02:00
Johan Andersson
87d2b41a74
tv4play: fix login issue with latest update
...
fixes : #425
2016-08-20 12:46:54 +02:00
Johan Andersson
1ed9e2aaf2
filmarkivet: adding support for the site
...
fixes : #423
2016-08-17 19:53:56 +02:00
Johan Andersson
4374d1c38d
viaplay: Better way to extract the right video id from the new site
...
fixes : #424
2016-08-17 00:43:34 +02:00
Johan Andersson
cd4506be8e
hds: some cases we need to encode the playlist as str for py2
2016-08-17 00:43:24 +02:00
Johan Andersson
1775793387
viaplay: support for -A viafree sites
2016-08-15 22:46:32 +02:00
Johan Andersson
e0caf5c822
viaplay: add support for viafree.se
2016-08-15 19:32:52 +02:00
Johan Andersson
31aaf468c0
subtitle: decode some htmlentities in sami
...
fixes #421
2016-08-01 21:02:38 +02:00
Johan Andersson
ce367f2b3e
main: rewrite some code so it easier to read
2016-08-01 20:55:19 +02:00
Johan Andersson
b295d4f2b0
main: improve output help text
...
show that we can output to a folder too.
fixes #419
2016-08-01 20:43:24 +02:00
Johan Andersson
9a0eda8b90
spell fixes
2016-08-01 20:40:46 +02:00
Johan Andersson
f8f25cf2a4
Merge remote-tracking branch 'qnorsten/master' into qnorsten
2016-07-24 12:15:11 +02:00
Johan Andersson
75c94a6acd
Merge pull request #414 from iwconfig/patch-1
...
Support for merging subtitles with corresponding ISO639-3 language code
2016-07-24 11:50:47 +02:00
Johan Andersson
6f6bf04e05
aftonbladet: use aptomaVideoId for videoId.
...
fixes : #416
2016-07-13 19:59:24 +02:00
iwconfig
91cc1a18a2
Fixed minor bug with manual mappings options for ffmpeg
...
also a tiny cleanup
2016-07-11 23:05:03 +00:00
Johan Andersson
dfcae7456e
svtplay: in some cases there is no season slug for videos
2016-07-11 10:44:33 +02:00
iwconfig
c5eea95c3f
Now --remux is on by default with --merge-subtitle.
...
Also fixed small bug when using --all-subtitles with only one available
subtitle.
2016-06-30 23:57:27 +00:00
iwconfig
3c1d45a37c
Fixed issue with --force-subtitle.
...
--force-subtitle and -S did not respect each other but now it is
working as it should. If --force-subtitle is used with -S it downloads
only the subtitles, and if --force-subtitle is used alone it overwrites
the existing subtitles and continues with the audio/video stream.
2016-06-30 23:57:27 +00:00
iwconfig
4e63c15ef9
Added -M, --merge-subtitle to merge subtitle(s).
...
The option gets the correct ISO639-3 language code using my own simple
language detection api, and merges with correct metadata using ffmpeg.
If ffmpeg is not installed an error message is raised since avconv
doesn't seem keep up with ffmpeg.
I also did a little cleanup in postprocess().
2016-06-30 23:57:27 +00:00
Johan Andersson
0ae031b8ac
tv3play: fix all downloads if it more than one seaon
...
fixes : #389
2016-06-30 01:20:39 +02:00
Johan Andersson
12f8a47415
svtplay: download all episodes with 'visa fler'
...
fixes : #407
2016-06-30 01:20:31 +02:00
Johan Andersson
421f53f099
dplay: support for other languages in subtitles
...
fixes : #410
2016-06-30 01:20:12 +02:00
Rabin Vincent
ddeec9e90b
dr: support --all-episodes
2016-06-30 00:08:42 +02:00
Svein Hansen
c2d8d64e99
Changes to nrk web pages:
...
Simpler html-parsing
Fixed subtitle support
2016-06-09 22:21:11 +02:00
Johan Andersson
8973f19bf7
New release 1.2
2016-06-03 00:12:08 +02:00
Johan Andersson
d8b2b8efa6
timestr: leading zero in single digit
2016-06-03 00:09:11 +02:00
Johan Andersson
f0fe1638eb
output: print which filename exists while printing the error message
...
fixes : #391
2016-06-02 23:56:41 +02:00
iwconfig
4f6c4821d7
remux only if file is not mp4
2016-06-02 01:47:25 +02:00
Johan Andersson
cf7380211f
mtvnn: add support for nickelodeon.dk
...
fixes #394
2016-06-02 00:54:35 +02:00
Johan Andersson
10a259982e
smi: it should be three decimals and not two
...
this fixes #398
2016-06-01 22:54:11 +02:00
Johan Andersson
c0b4d278b4
sami: dont crash on &
...
this fixes #396
2016-06-01 22:43:39 +02:00
Johan Andersson
b298e823eb
nrk: add some error checks if geoblocked
2016-06-01 22:15:45 +02:00
Johan Andersson
53d702708b
get_one_media: include version crash
2016-06-01 22:11:01 +02:00
Johan Andersson
704fc6dee8
disney: move down the exclude so it catch the new name
2016-06-01 22:11:01 +02:00
Svein Hansen
56a404686a
tv.nrk.no website html change. Error when finding the video id.
2016-05-26 23:09:47 +02:00
Johan Andersson
fa730a5564
remove options in argument for exclude
2016-05-14 22:54:30 +02:00
Johan Andersson
c324374ba7
service: exclude should use options in the class
2016-05-14 22:41:33 +02:00
Johan Andersson
af66859dd5
get_one_media: move force_subtitle to main function
...
with this it will work for every site with subtitles
2016-05-14 22:38:23 +02:00
Johan Andersson
23814a9bf5
select_quality: fix crash while using range
...
fixes : #392
2016-05-14 11:17:34 +02:00
qnorsten
24a1789949
subtitles: --convert-subtitle-colors command added to convert color information in wsrt subtitle files to <font color=""> tags.
2016-05-09 15:10:58 +02:00
qnorsten
4b9cd2a954
Merge branch 'master' of https://github.com/spaam/svtplay-dl.git
...
# By Johan Andersson (7) and qnorsten (1)
# Via Johan Andersson
* 'master' of https://github.com/spaam/svtplay-dl.git :
New release 1.1
Update makefile version number
makefile: fix a sed error
diff_man: detect extented regex for sed
Add new agruments to pod file
main: move all-subtitles to the rest of subtitles agruments
Add a silent-semi argument
get_one_media: added missing checks if subtitles exists before trying to print url using -g
2016-05-05 17:08:45 +02:00
Johan Andersson
c6abc2e6d9
New release 1.1
2016-05-05 14:02:03 +02:00
Johan Andersson
468f36c62c
main: move all-subtitles to the rest of subtitles agruments
2016-05-05 12:34:05 +02:00
Johan Andersson
7a29dcb65a
Add a silent-semi argument
...
It that will only print error, warning and
when the file is downloaded.
2016-05-05 11:34:10 +02:00
qnorsten
7d575ee382
get_one_media: added missing checks if subtitles exists before trying to print url using -g
2016-05-05 10:38:43 +02:00
qnorsten
f807f48b7a
get_one_media: added missing checks if subtitles exists before trying to print url using -g
2016-05-05 09:46:12 +02:00
qnorsten
5871f81695
output: removed unnecessary print
2016-05-05 01:26:38 +02:00
qnorsten
507bb3cf31
output: wrst now detected as extension. srt file no longer named .wrst.srt when saving raw subtitle from SVT-play.
2016-05-04 09:44:56 +02:00
qnorsten
a774a8052b
Merge branch 'master' of https://github.com/spaam/svtplay-dl.git into rawsubs
...
# By Johan Andersson (7) and qnorsten (4)
# Via Johan Andersson (2) and qnorsten (1)
* 'master' of https://github.com/spaam/svtplay-dl.git :
urplay: dont crash when there is no label
twitch: Fix so we can get live url again
fetcher: dont print newline when its silent
main: add dash in the help text for preferred
tv4play: free videos with premuim showed up as None
tv4play: fix unicode errors in showname
Fixed missing space error
Some minor code improvments
postprocess: ext includes dot before fileextention
Updated gitignore
Added support for subfix in filename of subtitles, when several languages are available Added command to download all available subtitles for a video (--all-subtitles) Added support to print all the subtitle urls when the get url parameter is used Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-05-03 22:43:57 +02:00
Johan Andersson
f49354387a
urplay: dont crash when there is no label
2016-05-03 20:35:16 +02:00
Johan Andersson
435e58436e
Merge pull request #379 from qnorsten/master
...
Added support for download of all available subtitles on a video
2016-05-03 20:18:32 +02:00
Johan Andersson
45be38c39d
twitch: Fix so we can get live url again
...
fixes : #385
2016-05-02 22:26:30 +02:00
Johan Andersson
3ea58c0461
fetcher: dont print newline when its silent
2016-05-01 13:12:19 +02:00
Johan Andersson
1a2b3001cc
main: add dash in the help text for preferred
...
fixes : #383
2016-04-30 22:15:35 +02:00
Johan Andersson
5cf6e0fe45
tv4play: free videos with premuim showed up as None
2016-04-30 14:10:43 +02:00
Johan Andersson
03a6307f38
tv4play: fix unicode errors in showname
...
fixes : #336
2016-04-30 13:54:26 +02:00
qnorsten
b3f03c2a69
output: Raw subs now affected by --force-subtitles and not --force
2016-04-29 11:51:24 +02:00
qnorsten
f77b560ad8
output: Modifed whitelist from srt to all subs to fix error with raw subtitle file preventing download of videofile
2016-04-29 11:51:23 +02:00
qnorsten
258a969aa1
subtitle: removed parentesis in if check
2016-04-29 11:51:18 +02:00
qnorsten
d72ff200a6
subtitle: fix so right filename is saved when saving raw subs
2016-04-29 11:51:07 +02:00
qnorsten
e54eb77993
subtitle: fixed syntax error
2016-04-29 11:50:43 +02:00
qnorsten
e2093c9a4d
subtile: minor code improvments
2016-04-29 11:50:17 +02:00
qnorsten
617f519977
subtitle: added command --raw-subtitles to download raw subtitle file also
2016-04-29 11:49:44 +02:00
qnorsten
162901b263
subtitle: added command --all-subtitle to download all available
...
subtitles.
subtitle: Added support for subfix in subtile filename.
urplay: added support to download more than 1 subtitle
Added support to print all the subtitle urls when the get url parameter is used
Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used
Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-04-29 11:41:34 +02:00
qnorsten
26a027517c
Merge pull request #1 from spaam/master
...
postprocess: ext includes dot before fileextention
2016-04-28 23:14:08 +02:00
qnorsten
156d60f8de
Fixed missing space error
2016-04-27 19:41:23 +02:00
qnorsten
428d4c5022
Some minor code improvments
2016-04-27 19:37:32 +02:00
Johan Andersson
003c494e0b
postprocess: ext includes dot before fileextention
...
this fixes : #380
2016-04-27 18:53:47 +02:00
qnorsten
56e07188ee
Added support for subfix in filename of subtitles, when several languages are available
...
Added command to download all available subtitles for a video (--all-subtitles)
Added support to print all the subtitle urls when the get url parameter is used
Fixed so subtitle url and stream url get printed if -S and -g but not --force-subtitles parameter is used
Added support for downloading all subtitles and auto subfix them with language name for Urplay and Urskola (even when just one subtitle is downloaded)
2016-04-27 10:37:47 +02:00
Johan Andersson
f159ebd9e3
get_one_media: dont download subtile with -g and -S
...
fixes : #366
2016-04-27 00:38:44 +02:00
Johan Andersson
d56a5f4deb
get_one_media: print subtitle url
...
with --force-subtile, -g and -S it will print the url for subtitle
fixes : #367
2016-04-27 00:34:25 +02:00
Johan Andersson
0fe57c52a2
select_quality: support for range to -q
...
this is similar to -Q but instead its -q 2000,3000 . it will choose one in between
fixes : #372
2016-04-26 23:48:12 +02:00
Johan Andersson
92b734daab
urplay: fix scrape so it works again
...
this fixes : #374
2016-04-26 23:22:59 +02:00
Johan Andersson
254edb99b7
get_all_episodes: copy options to the next service
...
this fixes : #373
2016-04-26 23:18:45 +02:00
Johan Andersson
4d392d6664
subtitle: strip line endings
2016-04-20 18:42:46 +02:00
Johan Andersson
e5059afb7a
tv4play: add client to post data
2016-04-19 21:58:11 +02:00
Johan Andersson
fcbcb25fce
picsearch: new type of embedded video
2016-04-19 21:08:17 +02:00
Johan Andersson
6d79ce9c04
tv4play: new url for login
2016-04-19 21:06:51 +02:00
Olof Johansson
5393dc1929
Fix various pylint warnings
...
None of these were any real problems, but easier to spot real issues if pylint
is a bit quieter. Apart from the pylint overrides being sprinkled over the code
base, this commit also fixes occurences of the following issues:
- logging-not-lazy
- logging-format-interpolation
- unused-import
- unused-variable
2016-04-03 19:06:45 +02:00
Johan Andersson
f15df72ff2
Merge pull request #362 from olof/dash_complete_progressbar
...
dash: complete the progress bar after file is downloaded
2016-04-02 17:52:12 +02:00
Olof Johansson
556d85e31f
dash: complete the progress bar after file is downloaded
...
The progress bar wasn't updated after the downloaded completed,
so the final progress bar would look something like this:
[99/100][===============================.] ETA: 0:00:00
This can be interpreted as the file didn't download completely.
Reported-by: rooth
2016-04-02 17:35:10 +02:00
Olof Johansson
fa66beff9b
select_quality: Simplify and add comments
2016-03-31 20:33:44 +02:00
Olof Johansson
f59207302d
prio_streams: Rename to protocol_prio
2016-03-31 20:33:44 +02:00
Olof Johansson
84ca17a14c
select_quality: Replace sys.exits with UIExceptions
2016-03-31 20:19:44 +02:00
Olof Johansson
dad2790d9e
select_quality: Filter out unwanted protocols before bitrate
...
It was easily possible to end up in a state where the bitrate prioritization
wanted a bitrate only avaiable via protocols outside of our set of accepted
protocols, like trying to disable dash for svtplay. By doing the protocol
filtering first, we end up only considering "valid" bitrates.
2016-03-31 20:19:44 +02:00
Olof Johansson
9d2054b4bc
select_quality: handle when no requested proto is available
...
Needs to widen the scope of the try: catch block in svtplay_dl/__init__.py
a little, since select_quality can now also fire away UIExceptions.
2016-03-31 20:19:44 +02:00
Olof Johansson
51c71aa1cb
error: New exception, NoRequestedProtocols
...
This excpetion is thrown when the stream can't be accessed by any accepted
protocol (as decided by options.stream_prio).
2016-03-31 20:19:44 +02:00
Olof Johansson
a6e05e4502
prio_streams: make protocol_prio param mandatory
...
Move the responsibility for extracting it to select_quality (prio_streams'
caller). This makes the prio_streams function simpler.
And at the same time, move the default protocol_prio list to global scope. This
can for instance be used for improved error reporting.
2016-03-31 20:19:44 +02:00
Olof Johansson
b6541100a3
select_quality: fix argument parsing
...
Instead of parsing the argument to --stream-prio as a comma separated listed, it
was accidentally handled as a space separated list.
2016-03-31 20:19:44 +02:00
Johan Andersson
c125540498
postprocess: this should be None and not False
2016-03-30 18:18:43 +02:00
Johan Andersson
f0c00090d9
New release 1.0
2016-03-28 21:32:26 +02:00
Johan Andersson
a343178d46
update pod file
2016-03-28 21:15:39 +02:00
Johan Andersson
e20f1212c0
update tests
2016-03-28 21:11:32 +02:00
Johan Andersson
c31cdfeeec
postprocess: add copyts
2016-03-28 19:17:06 +02:00
Johan Andersson
1627abc956
tv4play: show an error message when the video is not there
2016-03-27 13:02:49 +02:00
Johan Andersson
f92e94a8d2
expressen: update way to download the videos
2016-03-27 12:49:27 +02:00
Johan Andersson
2941cb31eb
include the dash.py file
2016-03-26 23:08:22 +01:00
Johan Andersson
e523141a04
support for dash streams
2016-03-26 21:38:31 +01:00
Johan Andersson
f7488af095
get_media: split all_episodes to its own function
2016-03-26 13:08:45 +01:00
Johan Andersson
504b3ccf22
makefile: include postprocess in the binary
...
fixes #360
2016-03-25 21:46:41 +01:00
Johan Andersson
78ceb3c669
dplay: check 401 if we are geoblocked
2016-03-23 00:22:37 +01:00
Johan Andersson
22614e1aa6
postprocess: dont hardcode avconv
2016-03-22 23:31:32 +01:00
Johan Andersson
4c8cb7c5d2
which: detect if you have the app in your cwd
2016-03-22 23:31:07 +01:00
Johan Andersson
60a54d7c0a
postprocess: do check for ffmpeg and avconv
2016-03-22 23:00:50 +01:00
Johan Andersson
4218dd5a5b
postprocess: basic remux files to .mp4 with ffmpeg/avconv
...
fixes #121
fixes #36
2016-03-22 22:36:39 +01:00
Johan Andersson
2d43702828
fetcher: set a variable if the stream is finished.
2016-03-22 22:28:41 +01:00
Johan Andersson
bb861a4062
utils: implement a function to find program in path
2016-03-22 22:28:07 +01:00
Johan Andersson
cad24eebd4
svtplay: it should be parse.path to detect klipp
2016-03-22 22:26:15 +01:00
Johan Andersson
b9c8851ab1
svtplay: more ways to detect embedded videos or clips
2016-03-20 23:21:21 +01:00
Johan Andersson
ab2741f6bf
solidtango: more ways to detect solidtango
2016-03-20 21:04:09 +01:00
Johan Andersson
ab3646e4e2
tv4play: dont encode the showname
2016-03-20 19:15:51 +01:00
Johan Andersson
67fa41fcc5
tv4play: they change the name from user_name to username
2016-03-20 18:40:24 +01:00
Johan Andersson
260bd6c5c6
tv4play: wrong user/passwd crashes the script.
...
exception handling cant handle unicode on py2
2016-03-20 18:35:53 +01:00
Johan Andersson
a32074dbbe
urplay: support for urskola
...
fixes : #358
2016-03-20 18:21:07 +01:00
Johan Andersson
ca6bb5c9c0
picsearch: more ways to detect the service
2016-03-20 18:20:19 +01:00
Johan Andersson
aba4d892f8
progressbar: this should be bit smaller because of fetcher.http
...
using bytes instead of low number takes more room
2016-03-20 00:32:01 +01:00
Johan Andersson
ccc502f4a1
fetcher_http: update to use progressbar instead of progress
2016-03-20 00:30:43 +01:00
Johan Andersson
05a20520b0
svtplay: fix embedded videos on svt.se
2016-03-17 16:57:58 +01:00
Johan Andersson
8da9cab05b
filenamify: dont remove the char before and after -
2016-03-17 16:57:12 +01:00
Johan Andersson
05b245dfaa
filenamify: replace .-. with only -
2016-03-16 22:51:19 +01:00
Johan Andersson
d3b0e106c3
generic: download embedded picsearch videos
...
fixes : #356
2016-03-16 22:50:43 +01:00
Johan Andersson
af70db9431
generic: download embedded lemonwhale videos
...
fixes : #355
2016-03-16 22:47:03 +01:00
Johan Andersson
ef22f9885e
generic: service need one more argument
2016-03-16 19:36:40 +01:00
Johan Andersson
2bb8f82287
lemonwhale: add support for vk.se
2016-03-16 18:58:17 +01:00
Johan Andersson
6d57453278
hls._get_full_url: dont append query string to the url
2016-03-16 18:56:52 +01:00
Johan Andersson
65dc028a9e
svtplay: öppetarkiv cant find program name sometimes
...
fixes : #348
2016-03-15 21:19:04 +01:00
Johan Andersson
b31d52390e
nrk: support for tv.nrksuper.no
...
fixes : #346
2016-03-15 21:19:04 +01:00
Olof Johansson
e781a1e89b
prio_streams: add unit tests
2016-03-13 16:56:51 +01:00
Olof Johansson
4740a42050
prio_streams: remove selected from parameters
...
Moving the responsibility for filtering out "unwanted" bitrates,
as opposed to just present a prioritized list, makes writing
unit tests easier.
2016-03-13 16:56:51 +01:00
Olof Johansson
fe23b971a5
prio_streams: remove options from parameters
...
Instead, pass the protocol prio list; this was the only reason
we used to pass options. Removing options makes it easier to
unit test.
2016-03-13 16:56:51 +01:00
Olof Johansson
af298e86d9
prio_streams: fix issues with prioritization
...
Previously, prio_streams didn't correctly account for the protocol,
and we ended up with HDS videos by default, instead of HLS as exected,
because HDS sorts before HLS alphabetically.
Fixes #349
2016-03-13 16:56:51 +01:00
Olof Johansson
fac120c692
make: pylint --report=no should be --reports=no
...
According to pylint's changelog, --reports has been the officially
documented flag since its introduction, but until recently, --report
also seems to have worked. This has now changed.
2016-03-08 20:32:29 +01:00
Johan Andersson
f047331b8c
pylint fixes
2016-02-29 23:19:01 +01:00
Johan Andersson
eb5e2fe5d4
dplay: new way to detect video id
...
fixes : #347
2016-02-29 23:18:27 +01:00
Johan Andersson
8a4469c810
Anomalous backslash in string fixes
2016-02-22 20:43:57 +01:00
Johan Andersson
55d811286d
solidtango: support for embedded and videos on solidtango.com
...
fixes : #343
2016-02-19 21:29:49 +01:00
Johan Andersson
7f1e2d6fd7
New release 0.30.2016.02.08
2016-02-08 21:47:54 +01:00
Johan Andersson
cd75cd5b63
subtitle.tt: dont crash on negative milliseconds.
2016-02-08 21:28:39 +01:00
Johan Andersson
013b6d1d82
dplay: support for all_last episodes
...
fixes : #329
2016-02-07 22:16:45 +01:00
Johan Andersson
293b6ae7e5
dplay: better show a error message instead of crashing
2016-02-07 20:44:03 +01:00
Johan Andersson
8db85270c8
dplay: better support for .dk, .no sites
...
fixes #339
2016-02-07 20:43:51 +01:00
Johan Andersson
e1459fab2f
svtplay: need to encode the string before hashing it
...
fixes #344
2016-02-07 20:10:36 +01:00
Johan Andersson
901ae80c88
unused import
2016-02-07 10:44:49 +01:00
Johan Andersson
595d5a97ac
efn: unused variable
2016-02-07 10:44:38 +01:00
Johan Andersson
70254e3429
unused imports
2016-02-07 10:41:43 +01:00
Johan Andersson
4b6393c060
dplay: change to “is” instead of ==
2016-02-07 10:32:47 +01:00
Johan Andersson
0f340b194e
hds: remove some left over debug code..
2016-02-07 10:31:28 +01:00
Johan Andersson
4e88894f0c
remove some empty lines.
2016-02-07 10:28:07 +01:00
Johan Andersson
4e88d27cbc
hls, hds: dont try to parse bad data
...
fixes : #342
2016-02-07 10:27:01 +01:00
Johan Andersson
1fa3204374
viaplay: we should get the subtitle after we set name
...
fixes #341
2016-02-07 10:25:49 +01:00
Johan Andersson
3f04ae2a56
swap place on py2 and py3 checks
2016-01-27 19:49:38 +01:00
Johan Andersson
219a134069
tv4play: dont quote unicode strings
...
fixes #336
2016-01-27 19:28:37 +01:00
Olof Johansson
5c76619e5e
Reraise exception proplery to UI with --verbose
...
When doing raise without arguments in an exception handler, the
exception is reraised with the original exception details.
Currently, the exceptions raised are all attributed the line
changed in this commit.
2016-01-26 00:20:17 +01:00
Johan Andersson
99a0a1169a
hdsparse: we should use bootstrapinfoid instead of 0
2016-01-17 00:36:15 +01:00
Johan Andersson
83e63d3e7a
New release 0.30.2016.01.10
2016-01-10 21:39:18 +01:00
Johan Andersson
f965b4a00b
hls argument never worked.
2016-01-10 21:18:55 +01:00
Johan Andersson
7f2325cc10
main: show which order we preferred download method
2016-01-10 21:17:34 +01:00
Johan Andersson
9274870f81
svtplay: unused import
2016-01-10 20:58:30 +01:00
Johan Andersson
caf936947f
svtplay: update the data from the new vid
2016-01-10 20:43:10 +01:00
Johan Andersson
5d61cb9371
svtplay: use the data we already have
2016-01-10 20:42:23 +01:00
Johan Andersson
00114f6750
svtplay: another videoid from the url
2016-01-10 20:36:13 +01:00
Johan Andersson
e895e02d70
svtplay: move find video id into its own function
2016-01-10 20:36:13 +01:00
Johan Andersson
f4b32cb1df
Merge pull request #326 from olof/filenamify_improvements
...
filenamify: disallow shell metachars + improvements
2016-01-10 20:36:07 +01:00
Olof Johansson
7803472713
utils: specify utf-8 encoding in editor modelines
2016-01-10 15:03:45 +01:00
Olof Johansson
f4005505d9
filenamify: Simplify and add unittests
2016-01-10 15:03:45 +01:00
Olof Johansson
9689dc78b0
filenamify: Make title regexp stricter
...
The - character is a range operator when used in character classes
(e.g. [0-9]). In our case, we want it to match a literal - (which it
coindicentally does, since it's within the range [ -.]. But we don't
want it to match other characters within this range.
2016-01-10 14:33:22 +01:00
Johan Andersson
1ddaad7beb
öppetarkiv: all episodes need option
2016-01-07 17:18:38 +01:00
Johan Andersson
9dcf203923
option to select which type of streams you prefer
...
fixes #321
2016-01-03 16:15:27 +01:00
Johan Andersson
1481e7effd
tv4play: fix so we can download normal shows again
...
fixes #320
2016-01-03 15:10:24 +01:00
Johan Andersson
fc58956e9a
fetcher: better output when printing the class
2016-01-03 02:43:23 +01:00
Johan Andersson
c5460b999d
svtplay: dont include other in the filename
...
Sometimes other is the same as name.
fixes #319
2016-01-03 02:43:23 +01:00
Johan Andersson
e0ad3b9967
svtplay: öppetarkiv still use the old names for format
2016-01-03 02:43:23 +01:00
Patrik Ragnarsson
11da233ddf
Improve the error message given on crash
...
Use stderr.
2016-01-01 18:20:34 +01:00
Johan Andersson
2901305818
mtvnn: fix support for downloading every episode
...
fixes : #316
2016-01-01 14:09:44 +01:00
Johan Andersson
4e24870519
disney: support for disney junior
...
fixes #317
2016-01-01 13:18:08 +01:00
Johan Andersson
4237021bc7
svtplay: it should be websrt and not wsrt
2015-12-28 11:41:39 +01:00
Johan Andersson
0a20279a94
svtplay: we should check if the user is using svtplay.se
2015-12-28 11:41:15 +01:00
Johan Andersson
cfea570432
svtplay: use sha256 of the version string as id
2015-12-27 20:55:10 +01:00
Johan Andersson
66898565b3
svtplay: support for the next version of the page.
...
video id is left to fix... dunno how to do it in a good way
2015-12-27 14:40:27 +01:00
Johan Andersson
eb7bd48d5a
utils.http: support for custom headers
...
fixes : #209
2015-12-26 13:38:36 +01:00
Johan Andersson
ff0ce41b72
utils: update the user-agent
2015-12-26 13:35:55 +01:00
Johan Andersson
ef74148003
Option to not verify ssl certificate
2015-12-26 12:14:14 +01:00
Johan Andersson
dd67365150
kanal5 is gone. long live dplay
2015-12-26 11:55:11 +01:00
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
Olof Johansson
a6d8e537d1
make: add missing echo, affects builds without git
...
Command used to generate the VERSION string from git had a missing echo, so
would try to execute $(LATEST_RELEASE)-unknown instead of assigning it as a
value.
2015-11-23 23:48:40 +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
Johan Andersson
bd565f77ae
viaplay: better filenames
...
fix #286
2015-10-24 21:55:33 +02:00
Johan Andersson
43dd5f4b2d
http.request: dont send headers twice
2015-10-24 21:18:23 +02:00
Johan Andersson
a998b4c8fa
twitch: handle the error messages
2015-10-20 00:49:20 +02:00
Johan Andersson
4b0beee989
disney: get the text instead of content
...
this failed on python3
2015-10-20 00:49:20 +02:00
Johan Andersson
e188ca8f56
subtitle_smi: encode it as iso-8859-1
...
this fixes #282
2015-10-20 00:49:20 +02:00
Johan Andersson
580c2a8c9d
Merge pull request #281 from olof/git_version_info
...
Add git version info to version string
2015-10-19 20:02:41 +02:00
Johan Andersson
96b2beb8ec
generic: return sefl.url instead of url
...
This fixes #278
2015-10-19 17:26:38 +02:00
Johan Andersson
a798a2b8ba
tv4play: forgot to set the show name in find_all_episodes
...
fixes #280
2015-10-19 10:37:15 +02:00
Johan Andersson
f3aba4e598
filenamify: replace with dot instead of dash
2015-10-19 10:37:15 +02:00
Olof Johansson
1a7a9f5662
Add git version info to version string
...
When building from git, it can be useful to know which version
a user has at commit level resolution. When building in a git
repository, use git describe to generate a version string. If
HEAD matches a tag, use that. Examples:
$ ./svtplay-dl --version
0.20.2015.10.08-3-gbd75a67
$ git tag -a 0.20.2015.10.18
$ make
...
$ ./svtplay-dl --version
0.20.2015.10.18
make release is also adjusted, so that it overrides the version
value when building, so that official releases still only has the
tag.
2015-10-18 19:50:53 +02:00
Johan Andersson
38f18d5eed
subtitle_tt: remove namespace info
2015-10-10 16:31:42 +02:00
Johan Andersson
7322b2d2ca
Prepare for release 0.20.2015.10.08
2015-10-08 23:25:24 +02:00
Johan Andersson
3f9703b6bd
dr.dk: geoblock check
2015-10-08 09:54:07 +02:00
Johan Andersson
1c33787ad0
dr.dk: fix url parsing for some urls
...
fixes #277
2015-10-08 09:52:36 +02:00
Johan Andersson
917f276e41
tv4play: better names for automagicnames
...
this fixes #276
2015-10-07 19:52:37 +02:00
Johan Andersson
d4afbd778b
tv4play: dont use directory twice in output filename
...
it happens when the output is an directory
2015-10-05 20:27:45 +02:00
Johan Andersson
e6baf3e4da
tv4play: Support downloading all premium videos
...
this fixes #275
2015-10-05 19:43:57 +02:00
Johan Andersson
c7373854f9
HLS: handle 403 error when the playlist is geoblocked
2015-10-04 17:41:11 +02:00
Johan Andersson
2eef43843d
HDS: handle 403 error when the playlist is geoblocked
2015-10-04 17:40:40 +02:00
Johan Andersson
b9bbedc2e7
hds: yield ServiceError when we see DRM
2015-10-04 17:39:43 +02:00
Johan Andersson
d53adcb2ad
Support for dplay.se
...
fixes #274
2015-10-04 14:40:00 +02:00
Johan Andersson
fa05480327
reorder arguments for hlsparse and hdsparse
2015-10-04 14:37:16 +02:00
Johan Andersson
39f7d4ba2e
hls: handle cookies
2015-10-04 14:36:21 +02:00
Johan Andersson
c6d9a5732d
hls: handle cookies
2015-10-04 14:36:06 +02:00
Johan Andersson
0d5a05be64
hdsparse: work as the same way as hlsparse
2015-10-04 14:35:35 +02:00
Johan Andersson
b899072236
hds: we want to get the data inside of the parse function
2015-10-04 14:35:00 +02:00
Johan Andersson
9011705274
hls: have the same interface as hds
2015-10-04 14:33:54 +02:00
Johan Andersson
64b2ac0240
utils.request: send chrome user-agent instead of the default one
2015-10-04 14:33:08 +02:00
Mikael Wikstrom
992d18c46d
fix crach on empty error array cause by no streams
2015-10-02 10:40:11 +02:00
Johan Andersson
28581838b0
svtplay: show the right url when it can’t find the json page.
2015-10-02 10:21:11 +02:00
Johan Andersson
ebb7049e19
twitch: handle directories when we output to an directory
2015-09-30 13:52:17 +02:00
Jellyfrog
0be6bddf8c
Make oppetarkiv work with --all-episodes again
...
seems they changed some css-classes
2015-09-30 00:47:49 +02:00
Mikael Johansson
e7d5dc1f6f
Added command line option to skip download if there's no subtitles available
2015-09-20 20:30:27 +02:00
Johan Andersson
79c7f82881
subtitle: only convert when its unicode
2015-09-20 16:03:07 +02:00
Johan Andersson
3afb8aa490
subtitle: workaround a bug in requests in ubuntu 14.04 LTS
...
2.2.1 cant convert string from bytes to text right.
fixes #259
2015-09-20 15:15:50 +02:00
Johan Andersson
dc2cc0294c
pip8. expected 2 lines found 1
2015-09-15 20:10:32 +02:00
Johan Andersson
0b280457a2
Prepare for release 0.20.2015.09.13
2015-09-13 23:37:10 +02:00
Johan Andersson
351206cd79
picsearch_test: di use picsearch nowdays
2015-09-13 23:03:59 +02:00
Johan Andersson
755cfe3825
raw: send url to hlsparse
2015-09-13 22:09:23 +02:00
Johan Andersson
8596e3bfb9
bigbrother: send url to hlsparse
2015-09-13 22:09:07 +02:00
Johan Andersson
29d00920ad
utils: show an error message if requests is not found
2015-09-13 22:05:17 +02:00
Johan Andersson
80a55e2615
utils: unused import
2015-09-13 22:04:47 +02:00
Johan Andersson
58ac72ea70
ruv: hlsparse need the url to the playlist
2015-09-10 23:41:50 +02:00
Johan Andersson
82dabc602f
support for solidtango
...
fixes #268
2015-09-10 23:40:48 +02:00
Johan Andersson
07d061d397
viaplay: adding support for juciplay.se
2015-09-10 21:57:55 +02:00
Johan Andersson
595f482a48
get_one_media: .message does not work with python3
2015-09-10 21:39:51 +02:00
Johan Andersson
f7323a0072
viaplay: f4m can be in the middle of the filename
2015-09-10 21:38:29 +02:00
Johan Andersson
1057f800b0
request: only show what request we are getting.
2015-09-07 20:13:36 +02:00
Johan Andersson
467e49b3ad
sr: this should be text
2015-09-07 19:03:31 +02:00
Johan Andersson
5fcf3f71fd
vimeo: this should be text
2015-09-07 19:02:43 +02:00
Johan Andersson
990cf491d5
twitch: this should be text
2015-09-07 19:00:40 +02:00
Johan Andersson
1e6de72d64
Better excluding message
...
fixing #198
2015-09-06 23:04:48 +02:00
Johan Andersson
b02b293919
output: walkaround for titles with .XXX at the in the end.
2015-09-06 22:51:39 +02:00
Johan Andersson
028a6fe061
urplay: dont include dupes
2015-09-06 22:41:49 +02:00
Johan Andersson
00335a06b5
urplay: import log
2015-09-06 22:41:29 +02:00
Johan Andersson
e0618e9fb0
generic: handle it as a regular service
2015-09-06 16:03:57 +02:00
Johan Andersson
411381a653
get_media: handle generic as a regular service.
2015-09-06 16:03:26 +02:00
Johan Andersson
8507219bf0
aftonbladet: use text instead of content
2015-09-06 16:02:54 +02:00
Johan Andersson
56bef49edf
Catch all the Exceptions when the script is crashing
2015-09-06 14:56:54 +02:00
Johan Andersson
8408375356
twitch: better error handling
2015-09-06 14:37:40 +02:00
Johan Andersson
acf526c54a
Show only one error message instead of two
2015-09-06 14:19:10 +02:00
Johan Andersson
7c811e38f8
kanal5: dont add dupes in the all season list
...
fixes #263
2015-09-03 22:09:30 +02:00
Johan Andersson
01a265427f
get_media: add http:// if the user forgot to add it
2015-09-03 22:05:48 +02:00
Johan Andersson
45a5c0ee38
mtvnn: dont urlparse the path
2015-09-02 19:46:55 +02:00
Johan Andersson
bb47a5d1fa
urplay: we need to send the url to hlsparse
...
fixes #260
2015-09-02 18:51:07 +02:00
Johan Andersson
086ae79482
svtplay: this need to be text
2015-09-01 23:53:13 +02:00
Johan Andersson
83fecfb6be
tv4play: json need to be text
2015-09-01 23:52:16 +02:00
Johan Andersson
b3cd0ad586
viaplay: json need to be text
2015-09-01 23:52:00 +02:00
Johan Andersson
469e243361
kanal5: adding support for all episodes
...
this fixes #81
2015-09-01 23:44:57 +02:00
Johan Andersson
614c9b8ae5
subtitle_wsrt: decode html entities
...
fixes #255
2015-09-01 22:54:32 +02:00
Johan Andersson
028754606b
qbrick: di dont use qbrick anymore
2015-09-01 00:37:32 +02:00
Johan Andersson
f01d97df9d
dr: use text for json and send the url to the playlist
2015-09-01 00:37:06 +02:00
Johan Andersson
421057194e
efn: send the url to the playlist
2015-09-01 00:36:27 +02:00
Johan Andersson
96d2bfd529
expressen: send the url to the playlist
2015-09-01 00:36:01 +02:00
Johan Andersson
21817c58f2
nrk: support for third kind of video
2015-09-01 00:23:19 +02:00
Johan Andersson
729374c94c
nrk: support for p3.no
2015-09-01 00:22:51 +02:00
Johan Andersson
b55e5fbb27
picsearch: di.se switched provider
2015-08-31 23:46:17 +02:00
Johan Andersson
b1be0b5d0c
picsearch: support for screen9 videos
2015-08-31 23:45:54 +02:00
Johan Andersson
4361254f0c
vg: use text instead of bytes
2015-08-31 23:45:28 +02:00
Johan Andersson
6883f31550
subtitle: python3 fixes
2015-08-31 23:19:01 +02:00
Johan Andersson
08f47dcbd5
viaplay: should be text and not binary
2015-08-31 23:18:37 +02:00
Johan Andersson
665104bec8
urldata: should be text instead of binary
2015-08-31 23:18:18 +02:00
Johan Andersson
270506082d
urplay: send the url to the playlist
2015-08-31 23:17:51 +02:00
Johan Andersson
b61b4cdac3
kanal5: open it as text not binary
2015-08-31 22:47:11 +02:00
Johan Andersson
724af70f49
subtitle: open as text and save it
2015-08-31 22:46:45 +02:00
Johan Andersson
c4cb752401
init: requests fixes
2015-08-31 22:26:19 +02:00
Johan Andersson
f30a782739
init: remove unused import
2015-08-31 22:26:04 +02:00
Johan Andersson
285b01a3b7
mtvnn: import urlparse from the right module
2015-08-31 22:25:37 +02:00
Johan Andersson
6cd4e335de
viaplay: remove debug print
2015-08-31 22:25:14 +02:00
Johan Andersson
082f167245
more requests fixes for get_urldata.
...
dont check the first byte
2015-08-31 22:04:59 +02:00
Johan Andersson
812097b95b
tv4play: remove unused imports
2015-08-31 21:54:10 +02:00
Johan Andersson
dc76094369
hls: remove unused imports
2015-08-31 20:35:37 +02:00
Johan Andersson
06472b5012
utils: remove unused imports
2015-08-31 20:35:23 +02:00
Johan Andersson
ea70ec30bf
urllib: remove unused imports
2015-08-31 20:35:05 +02:00
Johan Andersson
7922966aff
sr: dont look for aria-label when getting the audio info
...
fixes #258
2015-08-31 20:18:18 +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
abf29827fb
oppetarkiv: request fixes
2015-08-31 17:14:31 +02:00
Johan Andersson
63a59707fe
tv4play: request fixes
2015-08-31 17:14:19 +02:00
Johan Andersson
57842a3895
viaplay: request fixes
2015-08-31 17:14:08 +02:00
Johan Andersson
c2ae9e99e7
aftonbladet: request fixes
2015-08-31 17:13:48 +02:00
Johan Andersson
1bd7410cc2
dbtv: send hls url to hlsparse
2015-08-31 16:53:23 +02:00
Johan Andersson
c691aa6ea1
disney: request fixes
2015-08-31 16:51:09 +02:00
Johan Andersson
9394f03251
http: remove unused imports
2015-08-30 14:42:29 +02:00
Johan Andersson
a0f0b192e2
http: use requests
2015-08-30 14:41:59 +02:00
Johan Andersson
fb7d4dd1b9
vimeo: we need the content to look at it
2015-08-30 14:41:19 +02:00
Johan Andersson
a1e987348d
download_thumbernail: use request instead
2015-08-30 12:04:49 +02:00
Johan Andersson
7115c57e4c
generic: request fixes
2015-08-30 12:04:16 +02:00
Johan Andersson
12e85b00ee
picsearch: unused import
2015-08-30 12:03:56 +02:00
Johan Andersson
4daf49f84b
twitch: more requests fixes
2015-08-30 11:57:45 +02:00
Johan Andersson
d51e513c17
More request fixes
2015-08-30 11:27:31 +02:00
Johan Andersson
1d51ad71f1
kanal5: requests fixes
2015-08-30 10:33:38 +02:00
Johan Andersson
daec9178d8
tv4play: requests fixes
2015-08-30 10:20:47 +02:00
Johan Andersson
f416a17572
ensure_unicode: remove extra space
2015-08-30 00:08:24 +02:00
Johan Andersson
84ee181f5b
adding request support.
...
still need some more work
2015-08-30 00:06:20 +02:00
Johan Andersson
b47f3f8601
Prepare for release 0.10.2015.08.24
2015-08-24 23:06:41 +02:00
Johan Andersson
5a54105ccc
output: use the right slash for the right platform
...
fixes #251
2015-08-24 23:02:28 +02:00
Johan Andersson
ea014f27d2
svtplay: seperate format and output json.
2015-08-24 23:02:28 +02:00
Olof Johansson
495dc1fcaa
twitch: Don't include description in filename
...
This can easily lead to "IOError: [Errno 36] File name too long"
exceptions.
2015-08-24 18:44:46 +02:00
Olof Johansson
f7b26a5745
Rename Justin to Twitch
...
Justin has been disbanded for a while.
2015-08-24 18:42:58 +02:00
Olof Johansson
56274ec64e
build: Avoid using non-portable install -D
...
The following error was reported when trying to build on OSX:
install: illegal option -- D
We now instead create the directories in a first, and copy in a second
step.
2015-07-26 12:48:23 +02:00
Johan Andersson
7ea335ec10
service.exclude: don’t crash when using åäö
...
fixes #245
2015-07-13 19:26:51 +02:00
Johan Andersson
1beebb7bea
mtvnn: they changed how the id is present in the text.
...
fixes #243
2015-07-05 21:51:58 +02:00
Johan Andersson
f3f748dde2
efn: adding support
...
fixed #242
2015-07-05 21:08:11 +02:00
Johan Andersson
5b015b95c1
oppetarkiv: they changed the links for the videos.
...
this fixes #238
2015-06-28 16:45:43 +02:00
Johan Andersson
86d17b5d20
Merge pull request #239 from olof/topic/reproducibility
...
Two reproducible build issues
2015-06-14 20:25:39 +02:00
Johan Andersson
63eee40e49
subtitle_wrst: check against int instead of str
...
this fixes #240
2015-06-07 20:10:36 +02:00
Olof Johansson
352fd90e51
build: Truncate timestamps in zip archive
...
Even though zip's -X flag suggests that it removes timestamps, that's not
quite true. There's still modification times per file, and that introduces
non-determinism that are hard to notice, since the mtimes are unlikely to
change without changes to the files. Only when doing a new clone/unpacking
a tar ball under some circumstances or similar action that resets/discards
the mtimes, we would notice.
So, the -X is not enough, and from what I can tell, there's no way of
telling zip to not include timestamps (or truncate them). With this
change, we stage all files in a temporary .build directory, and set the
mtime manually to the beginning of time (as is the case for zip files:
1980-01-01T00:00). These timestamps should not be important to anyone,
since they are all presented to the user as a blob.
The rationale for this change is that this makes it possible to build
svtplay-dl reproducibly. And it also removes the pesky svtplay-dl diffs
just from regenerating the executable.
2015-05-30 13:58:30 +02:00
Johan Andersson
0006eeea58
Prepare for release 0.10.2015.05.24
2015-05-24 17:31:34 +02:00
Johan Andersson
0259643fbe
__init__: unused import
2015-05-24 14:55:45 +02:00
Johan Andersson
0ee4ef7ce9
justin: unused variable
2015-05-24 14:51:37 +02:00
Johan Andersson
89cf3cad76
tv4play: they changed the order on name and type key.
...
this fixes #237
2015-05-24 14:27:07 +02:00
Johan Andersson
b0dbe63345
justin: better filenames
2015-05-24 13:59:11 +02:00
Johan Andersson
6f228284cf
justin: refactor get function
2015-05-24 12:37:16 +02:00
Johan Andersson
e1100fa7d4
justin: support for the new vod system
2015-05-23 19:18:04 +02:00
Johan Andersson
617edb4d21
urplay: better path for rtmp streams
2015-05-06 10:42:03 +02:00
Johan Andersson
620cbf9b43
urplay: Check how many items we have in subtitles
...
This fixes #235
2015-05-06 10:33:24 +02:00
Johan Andersson
7950e06e0d
smi: check if data is empty
2015-05-01 22:34:02 +02:00
Johan Andersson
4d634dc323
unused import
2015-04-30 11:42:21 +02:00
Johan Andersson
072e4d50c7
filename: it should be latin1 not lain1.
2015-04-30 11:03:52 +02:00
Johan Andersson
5c135d24a4
Move automagic filename thing to output.py
2015-04-30 11:02:18 +02:00
Johan Andersson
07038caa2a
get_one_media: don’t try to decode utf8 on filenames on windows
...
more fixes #233
2015-04-30 10:51:43 +02:00
Johan Andersson
67ad23a8b3
get_one_media: handle international character in output
...
this fixes #233
2015-04-29 15:06:18 +02:00
Johan Andersson
acb3349591
qbrick: unused import unquote_plus
2015-04-28 23:20:34 +02:00
Johan Andersson
01fee67b88
vg, vimeo: missing newline at the end of file
2015-04-28 23:19:35 +02:00
Johan Andersson
c95c51fa5d
subtitle: missing r-prefix
2015-04-28 23:16:44 +02:00
Johan Andersson
7ed21ae16b
smi: Handle subtitle that starts direct after the previous one.
...
this fixes #225
2015-04-28 23:00:24 +02:00
Johan Andersson
26a5db7a6e
wrst: don’t encode the data to utf8 on python3
2015-04-28 22:59:07 +02:00
Johan Andersson
679f40cf35
io: use StringIO instead of BytesIO
2015-04-28 22:58:02 +02:00
Johan Andersson
29612f4f11
get_one_media: fixes issues with filenames with “, ‘ and \ in windows
...
this fixes #230
2015-04-27 22:25:56 +02:00
Johan Andersson
749d00ac82
svtplay: use context instead of statistics for filename
2015-04-16 21:58:48 +02:00
Johan Andersson
bdeea1e130
facebook: better error message
2015-03-31 20:51:13 +02:00