Johan Andersson
526c6bbdbe
get_one_media: always remux hls
...
fixes #903
2018-05-25 22:49:05 +02:00
Johan Andersson
326a26aa21
fetcher: use .format for repr
2018-05-25 22:47:48 +02:00
Johan Andersson
bbf2f82b79
fetcher: make name a property
2018-05-25 22:47:26 +02:00
Johan Andersson
72d11fd3d0
setup: rewrite the version information to its own file.
...
this will help setup to find new deps that we are missing
2018-05-24 23:05:34 +02:00
Johan Andersson
dea461c198
get_one_media: instead of using hardcoded name of fetcher check for audio
2018-05-24 21:18:14 +02:00
Johan Andersson
30f09b4bad
output: we can have separate a/v stream in .ts but there is no extension to separate them
...
fixes : #902
2018-05-24 21:15:14 +02:00
Johan Andersson
9268ef269e
Remove old method to build
2018-05-22 22:18:56 +02:00
Johan Andersson
66f102cd92
tv4play: add some extra space around arithmetic operator
2018-05-22 20:19:53 +02:00
Johan Andersson
389acf6a6c
npo: use the correct path to urlparse
2018-05-22 20:19:16 +02:00
Johan Andersson
7a8b4af606
tv4play: remove " - " från the name
2018-05-22 00:51:00 +02:00
Johan Andersson
2718f55db7
tv4play: send hls_time_stamp as a argument to fetchers
2018-05-22 00:03:14 +02:00
Johan Andersson
3dd8285c8a
qbrick: send other as a argument
2018-05-22 00:02:48 +02:00
Johan Andersson
35d8eb6dd1
Some more options to config
2018-05-22 00:02:20 +02:00
Johan Andersson
b77b78b121
output: dont try to check empty values
2018-05-21 23:37:00 +02:00
Johan Andersson
ae89f52606
tv4play: Add the id number to output
...
fixes : #899
2018-05-21 23:36:34 +02:00
Johan Andersson
24c1be3fd2
viafree: replace options with config
2018-05-21 22:56:22 +02:00
Johan Andersson
81e327ec19
tv4play: send other as a argument to the fetcher class
2018-05-21 22:13:30 +02:00
Johan Andersson
bbc0b70368
tv4play: remove some old option code
2018-05-21 22:13:08 +02:00
Johan Andersson
c5b436e20e
services: add output variable to fetchers
2018-05-21 00:56:22 +02:00
Johan Andersson
7aee5164f5
viafree: remove old variable
2018-05-21 00:38:04 +02:00
Johan Andersson
7275829dae
hls.download: the extension should be ts not tls
2018-05-21 00:05:31 +02:00
Johan Andersson
72af4ffb0f
Change shebang to python3 from python
2018-05-20 23:23:16 +02:00
Johan Andersson
1300ab7032
setup_log: use pathname instead of filename
2018-05-20 23:06:15 +02:00
Johan Andersson
8b340bb103
get_media: use config inside of stream
2018-05-20 21:09:49 +02:00
Johan Andersson
a8fa7a8aa3
get_media: we already have this code in parser
2018-05-20 21:05:24 +02:00
Johan Andersson
2605f4ff94
output.formatname: this should be path
2018-05-20 20:51:34 +02:00
Johan Andersson
600afef12b
parser.setup_default: add missing default values
2018-05-20 20:29:16 +02:00
Johan Andersson
c41dba7077
parser.merge: rewrite and dont update items with std values
2018-05-20 20:28:49 +02:00
Johan Andersson
2e0bf58a3f
parser: this can be on one line
2018-05-20 19:05:35 +02:00
Johan Andersson
e97b104573
unused imports
2018-05-20 19:05:17 +02:00
Johan Andersson
6dfdc8c6c0
Support for config files
...
this will search for config file in
unix: ~/.svtplay-dl.yaml
windows: %APPDATA%\svtplay-dl\svtplay-dl.yaml
2018-05-20 18:21:40 +02:00
Johan Andersson
2543ed7f46
move some special config values to parser
2018-05-20 13:16:00 +02:00
Johan Andersson
6c526a62e1
remove some more excludes
2018-05-13 15:15:11 +02:00
Johan Andersson
8fcd201ddc
dash: use exception instead of nothin
2018-05-13 14:21:27 +02:00
Johan Andersson
6b186291dd
vimeo: fix bad merge from before..
2018-05-13 14:20:57 +02:00
Johan Andersson
d2776c3b12
Remove some debug prints
2018-05-13 13:18:36 +02:00
Johan Andersson
a5f1ee4c25
postprocess: set the right output filename when using remux
2018-05-13 13:18:36 +02:00
Johan Andersson
8192fe025d
getmedia: right import path to which
2018-05-13 13:18:36 +02:00
Johan Andersson
836084f1fb
output: user should be able to set its own output name
2018-05-13 13:18:36 +02:00
Johan Andersson
9a2aafefda
parser: set output to None
2018-05-13 13:18:36 +02:00
Johan Andersson
09eac51d6c
subtitle: remove unused cookies variable
2018-05-13 13:18:29 +02:00
Johan Andersson
1b1cde811c
subtitle: use config instead of options
2018-05-13 13:09:27 +02:00
Johan Andersson
d3799d7660
rtmp: generate correct filename
2018-05-13 13:09:27 +02:00
Johan Andersson
55b07c1dfb
fetcher: set output extension
2018-05-13 13:09:27 +02:00
Johan Andersson
9ce61f499d
postprocess: generate correct filename
2018-05-13 13:09:27 +02:00
Johan Andersson
5474da2251
postprocess: use config
2018-05-13 13:09:27 +02:00
Johan Andersson
335ff16c8c
output: fix detection of already downloaded files
2018-05-13 13:09:27 +02:00
Johan Andersson
81011d4b53
svtplay: only add desc if available
2018-05-13 13:09:27 +02:00
Johan Andersson
bf21419afd
output.formatname: this should be ints
2018-05-13 13:09:27 +02:00
Johan Andersson
850ec4612d
getmedia: do exclude inside of the streams loop.
2018-05-13 13:09:25 +02:00
Johan Andersson
92763977ed
subtitle: better represent line
2018-05-13 13:08:27 +02:00
Johan Andersson
d3841e17da
options to commit
2018-05-13 13:08:24 +02:00
Johan Andersson
d4dc9693df
postprocess: use output in streams instead of options
2018-05-13 13:07:37 +02:00
Johan Andersson
193edae667
mtvnn: send other as a argument instead of using options
2018-05-13 13:07:37 +02:00
Johan Andersson
77115279e1
remove some old naming methods that we dont need now
2018-05-13 13:07:37 +02:00
Johan Andersson
4271bbe615
remove some old excludes
2018-05-13 13:07:37 +02:00
Johan Andersson
6d490879a4
Remove some empty lines
2018-05-13 13:07:37 +02:00
Johan Andersson
1a14d26b1b
Return empty dict instead of None
2018-05-13 13:07:37 +02:00
Johan Andersson
f300e24ca3
more options to config replaces
2018-05-13 13:07:34 +02:00
Johan Andersson
ca49366002
Options to config
2018-05-13 13:06:45 +02:00
Johan Andersson
28dcc90d7e
flake8 fixes
2018-05-13 12:10:19 +02:00
Johan Andersson
698ad195b7
rewrite logging a bit
2018-05-13 12:10:19 +02:00
Johan Andersson
a051418dab
utils: move functions out of init to its own files.
2018-05-13 12:10:19 +02:00
Johan Andersson
39f1f2c162
change order of operator
2018-05-13 12:09:27 +02:00
Johan Andersson
a7dfff596b
svtplay: missing import
2018-05-13 12:09:27 +02:00
Johan Andersson
859fd50efa
flake8 break long lines
2018-05-13 12:09:27 +02:00
Johan Andersson
50ef5821f4
flake8 add some space for the operator
2018-05-13 12:09:27 +02:00
Johan Andersson
07b84c1f2e
flake8 no need for extra space
2018-05-13 12:09:27 +02:00
Johan Andersson
5339bdc265
flake8 over-indented for visual indent
2018-05-13 12:09:27 +02:00
Johan Andersson
8f126c3d49
flake8 add new line end of file
2018-05-13 12:09:27 +02:00
Johan Andersson
22e3c8e5ac
urljoin in hls
2018-05-13 12:09:27 +02:00
Johan Andersson
5d1f86d8fc
flake8 fixes
2018-05-13 12:09:27 +02:00
Johan Andersson
8af26fb5c7
unused imports
2018-05-13 12:09:27 +02:00
Johan Andersson
903a4ae71d
No need for utils.io
2018-05-13 12:09:27 +02:00
Johan Andersson
7e351530e9
No need for utils.urllib anymore
2018-05-13 12:09:27 +02:00
Johan Andersson
86a8ea52e9
use logging?
2018-05-13 12:09:27 +02:00
Johan Andersson
7137278213
Do the merge and check some options in main
2018-05-13 12:09:27 +02:00
Johan Andersson
a6c4de8d9d
flake fix
2018-05-13 12:09:27 +02:00
Johan Andersson
b82831df03
Move services to its own file
2018-05-13 12:09:27 +02:00
Johan Andersson
d496955cb4
Move Options to parser?
2018-05-13 12:09:27 +02:00
Johan Andersson
03c8b68bb6
Move get_* to its own file
2018-05-13 12:09:27 +02:00
Johan Andersson
3da6728ae3
move mergeparseroption to parser.py
2018-05-13 12:08:11 +02:00
Johan Andersson
c135ed3593
move parser to its own file
2018-05-13 12:08:11 +02:00
Johan Andersson
8109b592a6
pep8 fixes
2018-05-13 12:08:11 +02:00
Johan Andersson
e5fff7a15f
get_one_media: remove some stdout code
2018-05-13 12:08:11 +02:00
Johan Andersson
2283d3e593
postprocess: fix indentation
2018-05-13 12:08:11 +02:00
Johan Andersson
2c4e3b5843
main: no need for usage
2018-05-13 12:08:11 +02:00
Johan Andersson
022eda0c56
postprocess: rewrite some subfixes checks
2018-05-13 12:08:11 +02:00
Johan Andersson
ddce6ae2aa
use argparse instead of optionparser
2018-05-13 12:08:11 +02:00
Johan Andersson
b8c1163852
remove a bunch of is_py. time for py3.
2018-05-13 12:08:11 +02:00
iwconfig
bdf33167d3
check subtitle length before random.sample()
...
Pass random.sample() the total number of sentences in the subtitle if less than 8.
i.e. max 8 sentences.
fixes #659
2018-05-06 20:02:07 +02:00
dalgr
6ee5cbbc80
Make '_autoname' in 'Tv4play' safer by adding value checks and try/except
2018-05-06 19:03:50 +02:00
dalgr
a5ad609a6c
Add a new service npo, for 'npo.nl'
2018-05-06 15:36:04 +02:00
dalgr
f474fb9b0c
Fix for issue #888 , viafree not working
2018-05-06 15:35:23 +02:00
dalgr
346b40dfbf
Add better parsing of dates in dash fetcher
2018-03-30 22:52:20 +02:00
dalgr
e77b5e12cd
Adjust 'end_time_stamp' for tv4 live, to avid fetching before the stream is publlished
2018-03-30 22:52:20 +02:00
dalgr
8b25a606ee
Remove 'window.svt.nyh.reduxStat', for svt.se
2018-03-20 06:56:39 +01:00
dalgr
0bf050df22
Fix support of Clips on svt.se
2018-03-20 06:56:39 +01:00
dalgr
77f0c47be9
Add support for hls fetching from vimeo
2018-03-19 20:55:10 +01:00
dalgr
ca2de62e6f
Fix bug with vimeo
2018-03-19 20:55:10 +01:00
dalgr
db0cf86866
Cleanup code for silent, 'File (%s) already exists.'
2018-03-13 22:04:31 +01:00
Johan Andersson
62a59549e9
New version 1.9.11
2018-03-11 23:40:02 +01:00
Johan Andersson
b9d6d5b50c
output need some parenthesis in silent.
2018-03-11 21:22:23 +01:00
dalgr
f7bac8754b
Avoid printing 'File (%s) already exists.' when running in silent mode.
2018-03-11 19:33:05 +01:00
dalgr
ec483a7045
Fix for the problem cused by 'Crypto.Random'
2018-03-11 10:19:29 +01:00
dalgr
6dc0595765
Improve the name of the outputed file
2018-03-10 22:16:16 +01:00
dalgr
f818993bcd
Fixes: 'Another ViaFree issue'
...
...
2018-03-10 22:16:16 +01:00
Johan Andersson
fbb511981e
select_quality: this should be get and not pop
2018-03-10 10:09:26 +01:00
Johan Andersson
aff4a0716a
select_quality: Sometimes cookies is not present in the stream
...
fixes : #858
2018-03-10 09:56:32 +01:00
Johan Andersson
4b64e1bb9f
hlsparse: sometimes we thought that subtitles was audio track
...
fixes #853
2018-03-09 23:20:52 +01:00
Johan Andersson
0eaf0ec8f8
don't hide import errors
2018-03-09 22:53:33 +01:00
Olof Johansson
b18a166898
postprocess: Give up on failure, not success when muxing
...
This, I suspect, accidental inversion of the error case led to files not
being cleaned up properly.
Fixes #856 , reported by @pulsatorius
2018-03-09 22:36:30 +01:00
Johan Andersson
281a8ba48c
New version 1.9.10
2018-03-08 01:02:42 +01:00
Johan Andersson
735ba0197c
get_one_media: dont try to remux the already muxed files
2018-03-06 21:49:43 +01:00
Johan Andersson
3818ee1ee9
postprocess.merge: when we merge .ts to .mp4 we need to have bsf:a
...
fixes : #825
2018-03-06 21:49:43 +01:00
Johan Andersson
35691d85cc
hls: we should use .ts and not .mp4
2018-03-06 21:49:43 +01:00
Johan Andersson
4282992719
viafree: they changed from using StartPageStore to ApplicationStore
...
fixes : #845
2018-03-06 21:49:43 +01:00
dalgr
4c62d87087
Modify after review, issue 846
2018-03-06 21:04:48 +01:00
dalgr
f06c09e9c3
Fix issue 846, DASH crash on a video on svtplay
2018-03-06 21:04:48 +01:00
dalgr
8b3a5dacbe
hls AES use avilable IV or 'Random.new()' from 'Crypto'
2018-03-04 19:48:17 +01:00
Johan Andersson
58f4c7fdcb
dplay: download the video on the program page
...
fixes : #824
2018-03-04 15:06:54 +01:00
dalgr
0d216719b8
Fix issue 829, compare with slug when avilabel
2018-03-04 12:35:05 +01:00
Johan Andersson
3de9396f7d
remove some debug prints..
2018-03-04 11:41:22 +01:00
Johan Andersson
24213562ad
postprocess: try to detect the bad audio track and skip it
...
this will only work for files with one audio track.
i have never seen file with several
fixes #814
2018-03-04 11:41:22 +01:00
Peter Janson
e9ce045838
Fixing filename creation for dplay
...
Encoding of show name failed. Fixed that!
fixes : #826
2018-03-04 11:28:21 +01:00
dalgr
848dc12a3a
Fix for issue 833, not abble to download hds streams
2018-03-04 11:26:30 +01:00
dalgr
33756e99c4
remove service vidme
2018-03-04 11:24:58 +01:00
Johan Andersson
f1befe0638
dplay: remove debug print for cookies
2018-02-26 10:02:05 +01:00
Johan Andersson
92398d8036
New version 1.9.9
2018-02-26 00:38:54 +01:00
Johan Andersson
61ff824fd6
dplay: fix url for .no and .dk
...
fixes : #823
2018-02-26 00:37:17 +01:00
Johan Andersson
706e8921d0
New version 1.9.8
2018-02-25 21:34:21 +01:00
Johan Andersson
28bbfc6eab
dplay: show an error message if its a bad url
2018-02-25 21:25:03 +01:00
Johan Andersson
f8877bb970
dplay: add support for detecting channels
...
live stream won't work because the audio and video is in different files.
this can be fixed later.
2018-02-25 21:25:03 +01:00
dalgr
70fafc7f90
Improve parsing of 'mediaPresentationDuration', for dash
2018-02-25 18:27:19 +01:00
dalgr
b800322f06
Remove usage of 'dateutil.parser'
2018-02-25 18:27:19 +01:00
dalgr
bad41cb1ed
Fix support for svt melodifestivalen
2018-02-25 18:27:19 +01:00
dalgr
a82f5fed40
Improvements to dash pasing, avoid empty lists
...
Quick fix for added MPD Live support
2018-02-25 18:27:19 +01:00
Johan Andersson
650d2896e2
dplay: add name of the episode in the filename
...
fixes : #819
2018-02-25 00:09:08 +01:00
Johan Andersson
149c637ce8
dplay: support for exclude
...
fixes : #818
2018-02-24 20:59:23 +01:00
Johan Andersson
a3406c8c53
cmore: add support for .dk/fi/no
...
fixes : #815
2018-02-24 17:39:26 +01:00
Johan Andersson
bdc646b885
cmore: fix login issue with the new site
...
fixes : #804
2018-02-24 17:07:14 +01:00
Johan Andersson
6d3c57a667
svtplay: use parse_qs instead of regex to parse the query
2018-02-21 23:04:20 -05:00
Johan Andersson
3a1735144c
svtplay: dont crash if we cant find the show using -A
...
fixes : #802
2018-02-21 22:50:31 -05:00
Johan Andersson
b47ce3ba26
viafree: fix -A so it works again
...
fixes 805
2018-02-21 22:44:19 -05:00
Johan Andersson
2fb54e368b
svtplay: in -A and --all-last sort the list if we have episodeNumber
...
fixes #800
2018-02-21 22:12:52 -05:00
Johan Andersson
68553d9870
get_one_media: we should only show this error message when we cant find ffmpeg/avconv
...
fixes 813
2018-02-21 21:38:07 -05:00
Johan Andersson
f42a50ca5f
dplay: support for the new design of the page
...
fixes #777
2018-02-21 21:30:36 -05:00
Johan Andersson
083188f8ac
subtitle: we need to tell requests to use utf8 for encoding
2018-02-21 21:29:21 -05:00
Johan Andersson
497771a478
hls: support for extracting subtitles
...
we need this for dplay
2018-02-21 21:28:44 -05:00
PO Lenhoff
8401f2f72b
hls are now always muxed
2018-02-18 19:03:36 +01:00
dalgr
ccf22ec692
Determine segments if URI attribute is incuded
...
Fix bug in '__str__'
2018-02-12 21:40:27 +01:00
dalgr
10f0807b9a
fix bug in raw service
2018-02-12 21:40:27 +01:00
dalgr
0813dfbb70
Alternet way of detecting segments for hls
2018-02-12 21:40:27 +01:00
Johan Andersson
0b920aebe0
eurosportplayer: new site
2018-02-12 00:55:51 +01:00
Johan Andersson
c4f3c8d6f2
fetcher: we need to send a custom header to fetch key in HLS
2018-02-12 00:08:09 +01:00
dalgr
70c94e4131
Adds two fallback options for tv4 autonaming
2018-02-11 21:18:28 +01:00
dalgr
e721c45acd
Remove unused 'extention' in raw service
2018-02-11 21:17:37 +01:00
dalgr
fb07e84fa6
Add support of downloading mpd files to service raw
2018-02-11 21:17:37 +01:00
dalgr
7aaa68b267
Compare URI when appending a 'm3u8.media_segment' list
2018-02-10 14:54:38 +01:00
dalgr
9b631e595a
Fix service Nickelodeon.se
2018-02-10 14:54:14 +01:00
Johan Andersson
6ed19abb62
hls: we need to add slash at the end of srcurl for urljoin
2018-02-10 00:38:52 +01:00
Johan Andersson
f017d5cf2c
hls.get_full_url: use urljoin instead of format string
2018-02-10 00:16:04 +01:00
dalgr
e79251eb7e
Fix support for hls segments streams
2018-02-04 23:38:11 +01:00
dalgr
da5ec62241
Improve preformance of hls parser, skip checking all posible videos
2018-02-04 20:40:25 +01:00
Johan Andersson
7b6ceb4737
Flake8 fixes
2018-01-30 20:17:33 +01:00
dalgr
530aef4ed6
Change title formating from custom to 'utils.filenamify'
2018-01-28 21:21:02 +01:00
dalgr
cf7f8c1da8
Add support for service ATG
2018-01-28 21:21:02 +01:00
Olof Johansson
251965ed7e
tests/hls: Specify static m3u in module instead of fetching with http
...
This avoids dependency on networking to run the test suite, as well as
making the test suite more robust in case of changes at the remote
location. Because of possible copyright issues, I opted not the use the
m3u file, but create a new one with similar properties.
This change also avoids hash ordering issues, by comparing the python
data structures directly, instead of a dumped json representation. There
are no guarantees that keys are ordered the same way when run in
different environments (and possibly in the same environment at
different times).
2018-01-27 00:29:23 +01:00
Bart Coppens
3b8969eb2f
dn.se has data-id attributes with a slightly different format
2018-01-27 00:29:10 +01:00
dalgr
f6e46178a2
Add support for service mtv.se
2018-01-27 00:28:43 +01:00
Johan Andersson
81c0eea37b
remove unused imports
2018-01-27 00:07:27 +01:00
dalgr
67421bc6fb
Add try/except for json parsing in Aftonbladet service
2018-01-25 22:43:10 +01:00
dalgr
78d1ad6934
Add support for Aftonbladet embedded videos
2018-01-25 22:43:10 +01:00
dalgr
c27e098593
Use max_duriation in hls and wait for tv4 video during commercials.
2018-01-23 19:01:40 +01:00
dalgr
4f7f3aaf7b
Change to use international time for tv4 live
2018-01-23 19:01:40 +01:00
dalgr
709618068e
Add default value for 'hls_time_stamp', Add live protocol prio
2018-01-23 19:01:40 +01:00
dalgr
938bb81a1b
Change hds to display all url when using '--get_url', '-g'
2018-01-21 21:12:14 +01:00
dalgr
f73f5d0b81
fix hls live download for tv4,sjuan,tv12
2018-01-15 22:16:07 +01:00
dalgr
b8dfbd1e3a
proof of concept, tv4play live
2018-01-15 00:37:18 +01:00
dalgr
31e5546e26
Add support of downloading a 'media_segment' m3u8 file
2018-01-14 22:29:20 +01:00
Johan Andersson
4cbe743693
New version 1.9.7
2018-01-09 23:46:40 +01:00
Johan Andersson
d33e9a5e85
missing proxy in options
2018-01-09 23:33:21 +01:00
Johan Andersson
4826c22781
nrk: dont try to run keys if streams is None
2018-01-09 22:32:36 +01:00
Johan Andersson
564de61fed
barnkanalen: fix sorting on -A
2018-01-09 21:14:01 +01:00
Johan Andersson
503bb540f5
svtplay: remove rss support in find all
...
In rss the sorting is way wrong.
2018-01-09 14:37:32 +01:00
Johan Andersson
dca6e90a80
svtplay: in find all, dont sort the already sorted list.
2018-01-09 14:37:32 +01:00
Johan Andersson
699412dc09
hls._get_tuple_attribute: in some cases there is a space in beginning of the name.
...
I saw this on some dplay live streams
2018-01-09 14:37:32 +01:00
Nick Leppänen Larsson
1f8b7f793f
Barnkanalen: inherit from Svtplay
...
svtplay modified to better support being inherited
2018-01-09 00:41:16 +01:00
Nick Leppänen Larsson
bfa6e6e296
Add service Barnkanalen
...
Heavily based on svtplay
2018-01-09 00:41:16 +01:00
Johan Andersson
02ae9767b4
dplay: live support for channels using HLS
2018-01-09 00:40:24 +01:00
dalgr
cace17260a
Add capture_time to hls fetcher
2018-01-08 20:15:54 +01:00
dalgr
8ed47dfed6
Add input varibel 'capture_time'
2018-01-08 20:15:54 +01:00
dalgr
939f277f86
Add support for live svtplay using hls
2018-01-08 20:15:54 +01:00
dalgr
786fc6a027
simplify m3u media_segment by adding tag 'URI'
2018-01-07 01:53:00 +01:00
dalgr
c28e35b1cb
Add tag 'URI' and simplify m3u json
2018-01-07 01:53:00 +01:00
dalgr
73bdf87b38
Fix bug in m3u8 parser, add a test for 'parse_m3u8.master_playlist'
2018-01-07 01:53:00 +01:00
dalgr
1379ac9c85
Continue with hls, 'EXT-X-MEDIA'
2018-01-07 01:53:00 +01:00
dalgr
ac6cca8919
Fix bug with key/decryptor and new m3u parser
2018-01-07 01:53:00 +01:00
dalgr
4207ccef71
continue improvements of m3u parser
...
update with more tags
2018-01-07 01:53:00 +01:00
dalgr
a875fcb5b6
start improvment of m3u parser
2018-01-07 01:53:00 +01:00
Johan Andersson
e2536eb133
urplay: in some cases they show schema.
2018-01-04 22:17:13 +01:00
Johan Andersson
3d0886a277
urskola: fix -A
2018-01-04 22:16:49 +01:00
Johan Andersson
5a4799f1a5
urplay: add scheme to urls
...
fixes #742
2018-01-04 22:09:17 +01:00
Johan Andersson
c03eefe6d0
sportlib: new site
2018-01-04 00:49:41 +01:00
Johan Andersson
2fa12b5fe1
hls: in some cases we want to use different cookies for the encryption.
2018-01-04 00:49:41 +01:00
Johan Andersson
8716c5e4b8
fetcher: in some cases we want to have different cookies for the key
2018-01-04 00:49:41 +01:00
Jan
ffe63aef19
Viaplay: Fix JSON episode data regexp for "all episodes" as well
2018-01-03 21:45:24 +01:00
Jan
8917d5bd8e
Viaplay: Fix regexp for JSON episode data extraction
2018-01-03 21:45:24 +01:00
Robert Foss
c26bb3ccc5
Add proxy support
...
This feature utilises the proxy support of the requests module, and
has been tested with SOCKS5 through a SSH tunnel, and has been
verified to be working.
Signed-off-by: Robert Foss <robert.foss@memcpy.io>
2017-11-26 18:11:41 +01:00
Johan Andersson
788a381077
get_media: when printing version number using verbose. it should be debug.
2017-11-25 11:31:01 +01:00
Johan Andersson
fc4c659ae9
output: make bit more generic
...
Remove the output "-". it have been a bit broken for a while.
2017-11-24 23:11:48 +01:00
Johan Andersson
4dd9bd6cdf
get_media: print version number every time we use verbose
...
Instead of only printing the version number when we crash.
print it every time we use verbose.
thanks to @granbom for suggesting this idea.
2017-11-24 21:49:37 +01:00
Johan Andersson
ebbe76ceb1
cmore: dont crash when the filename have åäö in it.
2017-11-13 18:36:06 +01:00
Johan Andersson
3983fcd1f9
cmore: detect the video id better
...
fixes #733
2017-11-13 18:32:16 +01:00
Johan Andersson
4cd40a2665
expressen: they started to use https for their stuff now
...
fixes #735
2017-11-11 13:02:25 +01:00
Jonatan Skogsfors
403f375150
Change priority for SR downloads.
...
Download of an SR program with music is typically only available for a
certain period of time while the shortened program is always available.
With that in mind I can’t see how the elif case ever would have been
visited.
2017-10-30 15:47:29 +01:00
Johan Andersson
2c2446b30b
hls: sometimes they have the key as a filename without url
2017-10-22 20:59:17 +02:00
dalgr
892b738bcb
Change to use Unicode strings in 'tv4play.py'
2017-10-19 20:10:19 +02:00
granbom
9f1c01a751
Fixing typo. Closes spaam/svtplay-dl#718
2017-10-17 10:41:38 +02:00
granbom
bfd925538f
String format issues. Closes spaam/svtplay-dl#719
2017-10-17 10:41:38 +02:00
Johan Andersson
ad94873402
dplay: fix keyerror after format string fixes
...
fix : #715
2017-10-12 22:30:57 +02:00
dalgr
328ad0cff9
Change 'subprocess.check_call' to 'subprocess.check_output' in ''utils.output'
2017-10-10 22:25:09 +02:00
Johan Andersson
59d2513dee
fetcher: change str formating from '%s' to '.format'
2017-10-09 22:35:33 +02:00
Johan Andersson
804b869644
service: change str formating from '%s' to '.format'
2017-10-09 22:35:13 +02:00
Johan Andersson
2ee0dad363
viafree: fix sorting for --all-last
...
fixes #696
2017-10-09 21:11:52 +02:00
Daniel Lublin
3410b1b58a
svtplay: the last n from the sorted episodes does it
2017-10-09 20:55:39 +02:00
dalgr
1aa84fc29c
Add error msg for no videos found
2017-10-09 20:41:09 +02:00
dalgr
bc3141a8c7
Avoid 'EXT-X-BYTERANGE', fix for 'hls.py'
...
Fix support for vidme in 'dash.py'
2017-10-09 20:38:56 +02:00
dalgr
510e8424fc
Adding suport for vid.me
2017-10-09 20:38:56 +02:00
dalgr
908b4ec313
more code cleanup
...
cleanup
2017-10-09 20:33:11 +02:00
dalgr
2adcdcd8ef
simplify and cleanup code
2017-10-09 20:33:11 +02:00
dalgr
493b01a856
fix error msg formating
2017-10-09 20:33:11 +02:00
dalgr
3fc3fbc9ef
change str formating from '%s' to '.format'
2017-10-09 20:33:11 +02:00
dalgr
bbc8e50352
retries with requests, for all 'self.http.request'
2017-10-09 20:32:16 +02:00
Johan Andersson
73306eef4d
dashparse: dont try to parse 0 length mpd files.
...
Akamai sent a zero length playlist for svtplay
fixes #701
2017-10-04 23:26:47 +02:00
dalgr
988b557433
Get alt query before entering specific video format
2017-10-03 21:23:21 +02:00
dalgr
9284c4d76c
Reformat '_get_video' in svtplay.py
2017-10-03 21:23:21 +02:00
dalgr
0ce284c106
replace str '%s' with str format
2017-10-03 21:23:21 +02:00
dalgr
27db933d6c
Fix formating of (ServiceError, log.info, log.error) msg
2017-10-03 21:23:21 +02:00
Johan Andersson
baa150cb88
svtplay: handle json decode error on api request.
...
In some cases when people using dns service to get around geoblocking
the dns server redirect them to a page telling them their ip is not
authorised using the dns server. this might fix #648
2017-10-03 21:21:09 +02:00
dalgr
e8a9157f20
add check 'is not None' to avoid FutureWarning
2017-09-19 21:41:17 +02:00
Johan Andersson
928f25c4c3
New version 1.9.6
2017-09-19 00:47:03 +02:00
Johan Andersson
d2b84198a8
cmore: remove dash from the operator name
2017-09-19 00:43:30 +02:00
Johan Andersson
5a6dc77374
cmore: support for operator login
2017-09-19 00:30:11 +02:00
Johan Andersson
9bbda65d20
cmore: check for .se for names for now.
2017-09-18 22:24:27 +02:00
Johan Andersson
a1dbdc9e94
cmore: better error handling for wrong user / passwd
2017-09-18 22:16:54 +02:00
Johan Andersson
700f4e0032
svtplay: change -A to be a blacklist instead of a whitelist
...
sometimes slug was avsnitt, sasong* or year.
2017-09-18 20:21:17 +02:00
Johan Andersson
12c0847602
aftonbladet: fix so it works with tv.aftonbladet.se
2017-09-18 14:47:34 +02:00
Johan Andersson
44703b47e8
dashparse: we don't need to "/ 1000" one more time
2017-09-18 14:46:57 +02:00
Johan Andersson
6f2f3fbc94
New version 1.9.5
2017-09-17 22:28:08 +02:00
Johan Andersson
01f7ea54be
svtplay: for some reason some slug in -A use year instead of sasong.
2017-09-17 21:03:54 +02:00
Johan Andersson
8e5c7ddd30
dash: fix a warning
2017-09-17 21:03:10 +02:00
Johan Andersson
bb291ec448
disney: new layout on the page.
...
fixes #613
2017-09-17 19:48:08 +02:00
Johan Andersson
f7e6d2e77c
utils: remove the try except from request.
...
this might cause some other issue. we will see.
2017-09-17 19:43:14 +02:00
Johan Andersson
aae1c878bb
subtitle: tv4 subs have a bom headers.
2017-09-17 11:21:04 +02:00
Johan Andersson
983d2f78e5
tv4play: use webvtt instead of smi files.
...
fixes #631
2017-09-17 11:20:31 +02:00
Johan Andersson
bbe146311d
cmore: missing deps for filenamify
2017-09-17 11:01:58 +02:00
Johan Andersson
c429df295a
cmore: add text about missing username and/or password.
2017-09-16 23:51:54 +02:00
Johan Andersson
d99dd21065
cmore: new service
...
fixed #567
2017-09-16 23:45:29 +02:00
Johan Andersson
d1b6ba2ee1
dash: rewrote the parsing of the .mpd files.
2017-09-16 21:38:14 +02:00
Johan Andersson
1fdd3255bc
viafree: add support for viafree.fi
...
fixes #660
2017-09-16 18:32:29 +02:00
Johan Andersson
e3cf1562af
mtvnn: support for HLS again. seen this on nickelodeon
...
fixes #672
2017-09-16 18:28:27 +02:00
Johan Andersson
f4611b5512
hlsparse: need to send cookies when we grab hlsfiles
2017-09-16 18:26:07 +02:00
Johan Andersson
0ddbc9752e
urplay: support for -A on urskola.se
...
fixes #677
2017-09-16 17:36:37 +02:00
Johan Andersson
5057322c85
svtplay: fix find all episodes
...
fixes #676
2017-09-14 09:30:58 +02:00
Johan Andersson
c5e6be02e6
tv4play: fix auto naming for latest version of the site
2017-09-12 12:33:58 +02:00
Johan Andersson
44623376e6
tv4play: find id of the video
...
fixes #674
2017-09-12 12:33:58 +02:00
PO Lenhoff
695c6ffb17
added python3 compatibility for find_all_episodes
2017-09-08 20:27:39 +02:00
Johan Andersson
c1259f2c9a
viafree: fix so we can download all episodes from viafree again
...
fixing #663
2017-09-08 18:59:18 +02:00
Johan Andersson
c38b4a35c1
aftonbladet: fix identention
2017-09-02 10:44:15 +02:00
Johan Andersson
40e4c63211
aftonbladet: support for the new page.
...
they changed it a bit so it uses some more js.
fixes #664
2017-09-01 20:53:04 +02:00
Johan Andersson
2a70b72938
solittango: dont crash when the xml data is unicode on py2
2017-08-01 19:34:53 +02:00
Johan Andersson
45266f6a2a
dplay: check per episode if its premium or not
...
fixes #650
2017-06-28 22:33:58 +02:00
Johan Andersson
e232001003
subtitle.wsrt: urplay only had minutes and seconds
...
fixes #639
2017-06-05 17:31:47 +02:00
Johan Andersson
390b25d2bf
lemonwhale: try to find the ID of the video in a new way.
...
fixes #638
2017-06-05 13:15:42 +02:00
Johan Andersson
1ce926f083
aftonbladet: svd using the same provider as aftonbladet nowadays.
2017-06-05 13:14:22 +02:00
Johan Andersson
5f8d306a06
New version 1.9.4
2017-05-08 00:22:17 +02:00
Johan Andersson
a2f20a3a31
svt: move this out from svtplay file
2017-05-08 00:17:27 +02:00
iwconfig
6176eabe95
Minor option description clarification
...
Appended information to the description about --merge-subtitle invoking the --remux option automatically
2017-05-08 00:15:43 +02:00
Johan Andersson
5763bb78c8
nrk: use the right api url to get video info
...
fixes : #604
2017-05-07 15:19:52 +02:00
Johan Andersson
c03a808774
svtplay: they moved the place where related videos are.
2017-05-07 15:02:55 +02:00
Johan Andersson
23d7d1fd12
cosmetic fixes in svtplay
2017-05-07 14:47:15 +02:00
Johan Andersson
1a3c201113
viafree: don't crash when episode is a text
...
fixes : #626
2017-05-07 14:44:12 +02:00
qnorsten
ad6180e48d
svtplay: videoTitlePage renamed to videoPage
...
svtplay changed their names again
fixes: https://github.com/spaam/svtplay-dl/issues/620
2017-05-03 16:04:24 +02:00
Johan Andersson
bccfc1fa3a
tv4play: in some cases we dont have episode info
2017-05-01 22:04:57 +02:00
Johan Andersson
72eddeb470
öppetarkiv: fix naming of files.
...
fixes #574
fixes #593
fixes #596
2017-04-21 22:01:02 +02:00
qnorsten
50fa511a5f
viafree: Make exclude work correctly for both -A and single episodes
...
Add exclude support when -A is used
Fix broken exclude support when downloading one episode
fixes: https://github.com/spaam/svtplay-dl/issues/483 in combination with c762575038
2017-04-21 19:34:43 +02:00
qnorsten
c8525f3a22
TV4play: remove login functionality
...
Tv4play has changed their login forms and as all premium content has moved to cmore.se login functionality is no longer needed and therefore removed.
2017-04-21 18:18:29 +02:00
qnorsten
49440b5f94
Merge remote-tracking branch 'origin/master'
2017-04-21 18:11:04 +02:00
qnorsten
699bcc5e9f
main: svtplay: Also print url when listing episodes with -A
2017-04-21 18:10:48 +02:00
qnorsten
c762575038
viafree: Make all-last work as intended
...
--all-last now returns X newest episodes instead of oldest
2017-04-21 18:10:40 +02:00
qnorsten
9fe6b951cc
svtplay: Check if Rss link is valid, and make tab work again
...
fixes: https://github.com/spaam/svtplay-dl/issues/584
Makes: https://github.com/spaam/svtplay-dl/issues/514 work again.
Adds basic check if linked rss is valid (as svtplay started including rss links again) also bypasses rss if a tab is supplied or include-clips is set.
2017-04-12 21:23:56 +02:00
iwconfig
0b2b528a6d
Prevent zero length field name in format
...
Added numbers to format() to prevent 'ValueError: zero length field name in format'
2017-03-26 14:48:15 +02:00
iwconfig
e5e7fd0293
Changed all '%s', to '{}'.format()
...
This also fixes a bug on line 105: format() got '%s' instead of '{}'.
2017-03-26 14:48:15 +02:00
iwconfig
5caf6d8354
Rather small spelling fix :)
...
This might be a picky one but hey
2017-03-26 14:47:44 +02:00
qnorsten
a9e1e92ba2
subtitle: use decode_html_entities function
...
use decode_html_entities to decode html entities
2017-03-23 11:43:15 +01:00
qnorsten
a310ceb2a1
Subtitles: Smi-subtitles updated regex to also remove <div tags>
2017-03-21 09:49:36 +01:00
qnorsten
f963b5f755
Subtitles: Smi subtitles, do not remove <i> and replace with space
...
fixes https://github.com/spaam/svtplay-dl/issues/581
2017-03-21 00:32:46 +01:00
Johan Andersson
4cd49f2a16
New version 1.9.3
2017-02-21 00:14:54 +01:00
Johan Andersson
e124ad8828
svtplay: fix accessservice crash
...
they changed how they tell if the video syntolkat
fixes : #566
2017-02-21 00:02:49 +01:00
Johan Andersson
8b14d490cb
svtplay: change place of not
2017-02-21 00:02:49 +01:00
Mikael Larsson
c4b4ab5bef
tv4play: Add season and episode info in the filename
2017-02-21 00:02:21 +01:00
Johan Andersson
c6df8f2b48
svtplay: get the live status from the api too.
...
sometimes the page say its live but the api say something else.
2017-02-19 11:37:22 +01:00
Johan Andersson
8b09165cd7
nhl: add support for the older platform
2017-02-18 23:51:58 +01:00
Johan Andersson
3e39a62737
hls: try to read the file playlist
2017-02-18 23:51:26 +01:00
Johan Andersson
c9903f63be
nhl: support for vod videos.
2017-02-18 21:13:01 +01:00
Johan Andersson
dfaa1fac90
svtplay: show a better error message if we cant find video
2017-02-18 18:28:03 +01:00
Johan Andersson
456e008597
pylint fixes
2017-02-15 23:15:50 +01:00
Johan Andersson
c9020020e7
svtplay: fixes for exclude in genre and -A
2017-02-15 00:47:36 +01:00
Johan Andersson
7ab4c060ba
svtplay: add support for exclude in -A
2017-02-15 00:40:25 +01:00
Johan Andersson
1d496af36a
service.exclude2: exclude with filename as a argument
2017-02-15 00:38:52 +01:00
Johan Andersson
bb7ff7e698
New version 1.9.2
2017-02-12 21:19:14 +01:00
Johan Andersson
3d8a516d1c
dash: don't crash if we get a total files.
...
fixes #559
2017-02-12 11:08:22 +01:00
Johan Andersson
da66ffcf2e
format string fixes
...
fixes #558
2017-02-12 09:01:40 +01:00
Johan Andersson
d20fa3d959
parsem3u: don't crash if we cant unpack extinf
...
fixes : #557
2017-02-12 08:53:59 +01:00
qnorsten
9cfb4e5f1e
Viafree: Added check to prevent crash while naming clips
...
Added check to only get parent season and episode number if derived_from_id actually is set. Prevent crashes on some clips.
2017-02-11 10:19:57 +01:00
qnorsten
1f49d84664
svtplay: Fix for -all-last, now starts from the last episode
...
Fixes: https://github.com/spaam/svtplay-dl/issues/454
2017-02-10 17:49:42 +01:00
qnorsten
b24c9d14c3
svtplay: Add support for tabs on genre pages
...
Adds support for tabs on genre page, only works for the items on tabs that do not link to just a show page.
2017-02-06 13:14:58 +01:00
qnorsten
1dbe315586
viafree: Download only specific season by using /sasongXX in url
...
Support to only download specific season by passing /sasongXX in url, when used with -A
Fixes: https://github.com/spaam/svtplay-dl/issues/439
2017-02-06 12:43:59 +01:00
qnorsten
be97c6266b
viafree: forgot to remove tv3play from filename
...
viafree: forgot to remove tv3play from filename
2017-02-03 11:10:58 +01:00
qnorsten
a2bb75569a
viafree: Change autonaming from tv3play to viafree
...
Change part autogenerated file names from tv3play to viafree
2017-02-03 10:37:47 +01:00
qnorsten
de0fa8a715
svtplay: Add syntolkat and teckentolkat to filename
...
svtplay: Readds syntolkat and teckentolkat to autogenerated filename.
Solves https://github.com/spaam/svtplay-dl/issues/542
2017-02-03 09:32:27 +01:00
qnorsten
c781bd1bb8
svtplay: Add support for tabs and --include-clips
...
svtplay: Adds support for --include-clips as well as support to just download one tab of episodes by using ?tab="tab" in url.
This should fix https://github.com/spaam/svtplay-dl/issues/549 , https://github.com/spaam/svtplay-dl/issues/514 and https://github.com/spaam/svtplay-dl/issues/480
2017-02-02 15:57:52 +01:00
qnorsten
ac864643cd
Viafree: Added support for --include-clips
...
Added support for --include-clips for viafree
2017-02-02 14:20:33 +01:00
qnorsten
d8a34c1fe9
main: Add include-clips command to include clips when combined with -A
...
Added --include-clips command to include clips when used togheter with -A
2017-02-02 14:17:18 +01:00
qnorsten
95c668cbe0
svtplay: do not try to use ProgramTitle in filename if it is None
...
fix crash for svtplay, that occurs when generating automatic filename and ProgramTitle is undefined.
2017-02-01 13:19:59 +01:00
Johan Andersson
a72282e44b
viafree: don't try to access videos that don't exists
...
fixes : #547
2017-02-01 11:06:01 +01:00
Johan Andersson
7c7565ea5d
svtplay: using -A will try to download same episode twice
...
fixes : #543
2017-01-31 23:42:04 +01:00
Johan Andersson
41b826cee0
dash: dont use the the same init file for every video.
...
fixes : #545
2017-01-31 23:40:40 +01:00
Johan Andersson
743c8d53fd
options.flexibleq: this value should be 0 as default.
2017-01-28 12:10:50 +01:00
Johan Andersson
dc2dc7dc62
New version 1.9.1
2017-01-27 02:14:20 +01:00
Johan Andersson
be471e9aab
svtplay: fix subtitles after the change on svtplay.se
...
fixes #535
2017-01-27 02:10:46 +01:00
Johan Andersson
76956610c8
picsearch: sometimes we don't get the video in player api
...
fixes : #527
2017-01-27 02:02:57 +01:00
Johan Andersson
3b8819a0eb
solidtango: detect hls video in a new way
2017-01-27 01:19:47 +01:00
Johan Andersson
f1b8949ab2
dplay: fix a crash when show name have weird unicode character
...
fixes #529
2017-01-26 22:33:32 +01:00
Johan Andersson
dac1b66ce4
svtplay: fixing some crashes after latest update.
...
fixes #528
2017-01-26 21:54:58 +01:00
Johan Andersson
f38e8403a2
mutliargs: using -A creates bad output names.
...
using -A creates an directory with the first files name for the second argument which is wrong.
fixes #525
2017-01-22 10:49:43 +01:00
Johan Andersson
6dec190df0
New version 1.9
2017-01-21 15:00:19 +01:00
Johan Andersson
4de8f8b451
Merge pull request #512 from mutoso/master
...
Allow multiple URLs as arguments
2017-01-20 15:50:12 +01:00
Johan Andersson
ea3041cf08
postprocess: we need to open the file as enc=utf8 on windows py3
...
fixes #521
2017-01-15 12:29:40 +01:00
Alastair Feille
b1987aee88
Account for -o option when using multiple URLs
2017-01-03 21:20:50 -06:00
Johan Andersson
0f99956d62
postprocess: don’t crash on åäö in filename
...
fixes #517
2017-01-02 21:09:35 +01:00
Johan Andersson
fd64749c15
Merge remote-tracking branch 'qnorsten/master'
2017-01-02 18:35:27 +01:00
Johan Andersson
bc7ccc5918
svtplay: don’t crash if we cant find url for subtitle.
...
fixes #511
2017-01-02 18:32:33 +01:00
qnorsten
a82f1f9080
Output: do not add double extension when using --raw-subtitles
...
Should fix https://github.com/spaam/svtplay-dl/issues/509
Prevents the subtitle file from getting the raw exstension also e.g subtitle.wsrt.srt
2016-12-21 00:06:51 +01:00
qnorsten
5dff059ff3
Viafree: Added SDH subfix to subtitle files when --all-subtitles are used
...
Added support to download both regular and Subtitles for hearing impared( with -SDH subfix), when using --all-subtitles
2016-12-17 11:09:07 +01:00
Alastair Feille
4cf6f210e0
Allow multiple URLs as arguments
2016-12-15 19:40:33 -06:00
Johan Andersson
544f131ae4
urplay: detect related videos for -A
...
this is good enough to find related videos.
it would be better to use bs4 with lxml..
fixes #470
2016-12-06 22:42:54 +01:00
Johan Andersson
ab3907a0ff
output: dont overwrite end of the filename when its auto generated
...
fixes #469
2016-12-06 22:09:27 +01:00
Johan Andersson
de055b885b
tv4play: don’t try to access vod when its live
...
fixes : #506
2016-12-05 22:09:20 +01:00