diff options
author | Mark Van den Borre <mark+github@markvdb.be> | 2020-11-18 14:06:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 14:06:20 +0100 |
commit | 677012b4ee53e5099e8c90445616644e1a6af9ef (patch) | |
tree | 6743722314720bf011ec7907bb30768fe46f0aa1 /config | |
parent | 7f88a58e3f8582431978ffff2e2beddadae6e358 (diff) | |
download | PeerTube-677012b4ee53e5099e8c90445616644e1a6af9ef.tar.gz PeerTube-677012b4ee53e5099e8c90445616644e1a6af9ef.tar.zst PeerTube-677012b4ee53e5099e8c90445616644e1a6af9ef.zip |
default youtube-dl to use ipv4 (#3311)
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 3 | ||||
-rw-r--r-- | config/production.yaml.example | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index b16fafa40..c315878b2 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -285,6 +285,9 @@ import: | |||
285 | videos: | 285 | videos: |
286 | http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html | 286 | http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html |
287 | enabled: false | 287 | enabled: false |
288 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl | ||
289 | forceipv4: | ||
290 | enabled: true | ||
288 | # You can use an HTTP/HTTPS/SOCKS proxy with youtube-dl | 291 | # You can use an HTTP/HTTPS/SOCKS proxy with youtube-dl |
289 | proxy: | 292 | proxy: |
290 | enabled: false | 293 | enabled: false |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 6c331b8b3..bbaafd9b4 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -299,6 +299,9 @@ import: | |||
299 | videos: | 299 | videos: |
300 | http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html | 300 | http: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html |
301 | enabled: false | 301 | enabled: false |
302 | # IPv6 is very strongly rate-limited on most sites supported by youtube-dl | ||
303 | forceipv4: | ||
304 | enabled: true | ||
302 | # You can use an HTTP/HTTPS/SOCKS proxy with youtube-dl | 305 | # You can use an HTTP/HTTPS/SOCKS proxy with youtube-dl |
303 | proxy: | 306 | proxy: |
304 | enabled: false | 307 | enabled: false |