diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2023-11-20 17:39:51 +0100 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2023-11-20 17:39:51 +0100 |
| commit | 7e363fa3c854c0cc9b7f7815bd1da973cb86e2e1 (patch) | |
| tree | 7c826751143330f490321b4fae9e119584fa97f6 | |
| parent | d9416a0be587ba3ceaa39e0a37e70ed669f7a6ae (diff) | |
| download | invidious-7e363fa3c854c0cc9b7f7815bd1da973cb86e2e1.tar.gz invidious-7e363fa3c854c0cc9b7f7815bd1da973cb86e2e1.tar.bz2 invidious-7e363fa3c854c0cc9b7f7815bd1da973cb86e2e1.zip | |
Config: Remove anti-captcha related configs
| -rw-r--r-- | config/config.example.yml | 21 | ||||
| -rw-r--r-- | src/invidious/config.cr | 4 |
2 files changed, 0 insertions, 25 deletions
diff --git a/config/config.example.yml b/config/config.example.yml index b44fcc0e..38085a20 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -393,27 +393,6 @@ jobs: # ----------------------------- -# Captcha API -# ----------------------------- - -## -## URL of the captcha solving service. -## -## Accepted values: any URL -## Default: https://api.anti-captcha.com -## -#captcha_api_url: https://api.anti-captcha.com - -## -## API key for the captcha solving service. -## -## Accepted values: a string -## Default: <none> -## -#captcha_key: - - -# ----------------------------- # Miscellaneous # ----------------------------- diff --git a/src/invidious/config.cr b/src/invidious/config.cr index 429d9246..13e53222 100644 --- a/src/invidious/config.cr +++ b/src/invidious/config.cr @@ -133,10 +133,6 @@ class Config # Saved cookies in "name1=value1; name2=value2..." format @[YAML::Field(converter: Preferences::StringToCookies)] property cookies : HTTP::Cookies = HTTP::Cookies.new - # Key for Anti-Captcha - property captcha_key : String? = nil - # API URL for Anti-Captcha - property captcha_api_url : String = "https://api.anti-captcha.com" # Playlist length limit property playlist_length_limit : Int32 = 500 |
