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