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

20 Commits

Author SHA1 Message Date
Johan Andersson
7882f6ddf1 utils.http: increase number of headers
akamai seems to add a bunch of headers for some reason
2023-04-19 03:30:09 +02:00
Johan Andersson
ce43d1ba4a Update user-agent to something newer 2023-04-19 03:30:06 +02:00
Johan Andersson
18009e7dc3 pylint fixes 2021-12-19 13:40:15 +01:00
Johan Andersson
c4b2747217 utils.download_thumbnails: unescape url
tv4play escape their thumb urls for some reason
2021-07-09 20:30:31 +02:00
Johan Andersson
3497e0577d Rewrite how we detect already downloaded files
this will also check if we already downloaded
the files if we already have it or not
2021-05-09 02:13:13 +02:00
Johan Andersson
10e365f695 pyupgrade fixes 2021-04-27 19:44:09 +02:00
Johan Andersson
145c81c7fc http: check if split_header value is correct 2021-02-23 23:45:35 +01:00
Johan Andersson
1e32678ba9 Add support for cookies
it works similar to headers
2020-09-15 23:43:20 +02:00
Johan Andersson
4e187f9553 pre-commit: its a good thing to commit config... 2019-09-06 22:49:49 +02:00
Johan Andersson
3aef9a796e black fixes 2019-09-06 22:31:52 +02:00
Johan Andersson
7f0cf6eb82 pre-commit: reorder imports 2019-09-06 22:09:07 +02:00
Johan Andersson
e9b16fda77 pre-commit: pyupgrade 2019-09-06 22:09:07 +02:00
Johan Andersson
e105855fb7 pre-commit: black fixes 2019-09-06 22:09:07 +02:00
Harald Gustafsson
4388e57112 Move the new metadata based thumbnail download into a reusable class instead of directly in Svtplay (requires that the service extract thumbnail urls during parsing of the video info into the self.output variable and the keys 'showthumbnailurl' and 'episodethumbnailurl'). Change OpenGraphThumbMixin to use the new download_thumbnails which makes correct filenames. Removed the old download_thumbnail. 2018-09-05 21:43:52 +02:00
Harald Gustafsson
bf0e38a6f9 Working thumbnail download. Used by svtplay and barnkanalen, downloads both episode and show thumbnails. 2018-09-05 21:43:52 +02:00
Johan Andersson
a0ab26a939 utilis.http: move get_full_url from hls to http 2018-07-05 01:26:43 +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
a051418dab utils: move functions out of init to its own files. 2018-05-13 12:10:19 +02:00