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

1230 Commits

Author SHA1 Message Date
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 &nbsp; 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
Johan Andersson
92323375fc naming: write leading zeros in episodes and seasons in a better way 2016-12-05 21:52:42 +01:00
Johan Andersson
33679e3058 viaplay: support for wsrt (vtt) subtitle
fixes: #501
2016-12-05 20:53:22 +01:00
Johan Andersson
18a9a1bcf5 subtitle: dont double encode utf8
fixes: #507
fixes: #501
2016-12-05 20:45:14 +01:00
Johan Andersson
3173beef4a viaplay: check if its vtt or sami 2016-12-05 19:57:57 +01:00
Johan Andersson
ec0f2a4feb subtitle: use HTTP from utils instead of requets. 2016-12-05 19:55:04 +01:00
Johan Andersson
80992f8664 postprocess: return und if we cant get the right language 2016-12-05 19:36:00 +01:00
Anders Waldenborg
a9c579ba5f Fix subtitles in urplay
The subtitle url was relative (in particular it left out the scheme)
Never videos appears to use VTT/WRST format
2016-11-30 23:21:42 +01:00
Johan Andersson
a986b9aeea picsearch: New way to get the token and id 2016-11-22 18:05:08 +01:00
Johan Andersson
0c1159e171 New version 1.8 2016-11-14 23:53:49 +01:00
Johan Andersson
b08d593556 subtitle: don’t crash if we cant download subtitle
show a warning that we cant download it.
2016-11-14 21:51:39 +01:00
Sopor
ee67996d1c tv4play: changed where to find the hls videos
fixes: #498
2016-11-10 08:32:29 +01:00
Johan Andersson
a9c6ad5e78 svtplay: don’t crash if we can’t find any video 2016-11-06 19:48:22 +01:00
Johan Andersson
1eb403a796 oppetarkiv: fix after last svtplay update. 2016-11-06 15:25:49 +01:00
Johan Andersson
2286ce6e02 svtplay: remove unused imports 2016-11-06 15:24:53 +01:00
Johan Andersson
fb0b1d74fe svtplay: no need for find_video_id 2016-11-06 15:10:38 +01:00
Johan Andersson
44bc008d07 svtplay: return direct if we can’t find video info 2016-11-06 14:55:43 +01:00
Johan Andersson
15a1fe2fcf svtplay: fix naming of filenames
fixes #481
2016-11-06 14:52:11 +01:00
Johan Andersson
d1ee50466b svtplay: use the same dash condition for all dash versions 2016-11-06 12:58:32 +01:00
Johan Andersson
41e5d8ef31 tv4play: don’t crash if we can’t find any streams
fixes #495
2016-11-06 12:58:06 +01:00
Johan Andersson
3bd5f498c6 dash: don’t overwrite the init file 2016-11-05 18:51:21 +01:00
Linus Karlsson
c436e4c381 subtitle.tt: fix error when calculating end time. 2016-11-01 23:19:54 +01:00
Johan Andersson
c038c67af3 dash: in some cases the SegmentTemplate is inside of Representation class. 2016-11-01 01:49:49 +01:00