Commit graph

17 commits

Author SHA1 Message Date
TacoTheDank
0ef2e07cf4 Some general-purpose lint cleanup 2020-09-06 12:55:26 +02:00
TacoTheDank
61c10ad427 Use AndroidX preference 2020-09-06 12:52:42 +02:00
wb9688
25b56bf5e4 Use final where possible 2020-08-16 10:25:09 +02:00
Vincent Nagel
6bd25dc805 rename setting to "YouTube restricted mode" 2020-04-20 21:47:32 -05:00
Vincent Nagel
eed9fe2684 renamed to "restricted mode" 2020-04-20 21:46:40 -05:00
Vincent Nagel
b50a01878b fix checkstyle errors 2020-04-20 21:45:32 -05:00
Vincent Nagel
bd1c43cd37 ageRestrictedContent cookie only sent for youtube
Now the age restricted content cookie is only sent when sending a
request to youtube. There's no need to remove the cookie when the
service changes because whether to add the cookie is determined by
looking at the url the request is being sent to.
2020-04-20 21:45:32 -05:00
Vincent Nagel
b1c310ce22 ageRestrictedContent first draft
Cookie updated whenever ageRestrictedContent setting is changed or
service is changed. Right now there is only a cookie for youtube, but
cookies for other services could be added in the future.

Problems with this approach: Even when the service is set to youtube,
the downloader doesn't only request youtube urls e.g. it also sends
reqeusts to i.ytimg.com, suggestqueries.google.com, and yt3.ggpht.com.
The ageRestrictedContent cookie is not normally sent when sending
requests to these other urls, so doing so might have unknown effects.
2020-04-20 21:45:32 -05:00
wb9688
ac264464ef Improve code style to be more consistent 2020-04-02 15:57:50 +02:00
TobiGr
60bccae38a Update extractor version 2020-03-01 15:37:47 +01:00
TobiGr
8678a7e5db Release 0.18.5 (850) and update extractor version
Update User-Agent
2020-02-25 23:38:51 +01:00
Markus
abc61fa14d Remove commented-out code and hide stacktraces in release mode 2019-12-13 21:46:19 +01:00
Markus
1572691233 Add trying out some more cipher suites which may be supported on non-standard Android 4.4.2 devices 2019-12-13 21:46:12 +01:00
Markus
7718801390 Fix formatting and remove unused code 2019-12-13 21:43:03 +01:00
Markus Richter
c13f0249c8 Enable TLS v1.1/1.2 for KitKat devices
This enables modern TLS versions in the collection browser, the Downloader and the Player.
This is neccessary because media.ccc.de rejects all older TLS connection attempts, see issue #2777.
2019-12-13 21:42:58 +01:00
Laurent Arnoud
b386ffeb4b Migrate annotation to androidx
release build is failing without this on android studio 3.5.3
2019-12-12 21:31:23 +01:00
Mauricio Colli
cb2f0625b1 Use new Localization and Downloader implementations from extractor 2019-11-17 23:58:52 -03:00