about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-11-07 23:53:22 +0700
committerSergey M․ <dstftw@gmail.com>2016-11-07 23:53:22 +0700
commit97726317ac8e905dc72e75c7c2a823280c51af00 (patch)
tree305f251b1cbbaaab799fb35cfca770102923c256 /README.md
parentcb882540e85ea01e83745f24454ebee733044d4f (diff)
downloadyoutube-dl-97726317ac8e905dc72e75c7c2a823280c51af00.tar.gz
youtube-dl-97726317ac8e905dc72e75c7c2a823280c51af00.tar.xz
youtube-dl-97726317ac8e905dc72e75c7c2a823280c51af00.zip
[README.md] Mention HTTP headers and alternative way to obtain cookies and headers in -g FAQ
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0f4088adc..98e374420 100644
--- a/README.md
+++ b/README.md
@@ -758,7 +758,7 @@ Once the video is fully downloaded, use any video player, such as [mpv](https://
 
 ### I extracted a video URL with `-g`, but it does not play on another machine / in my webbrowser.
 
-It depends a lot on the service. In many cases, requests for the video (to download/play it) must come from the same IP address and with the same cookies.  Use the `--cookies` option to write the required cookies into a file, and advise your downloader to read cookies from that file. Some sites also require a common user agent to be used, use `--dump-user-agent` to see the one in use by youtube-dl.
+It depends a lot on the service. In many cases, requests for the video (to download/play it) must come from the same IP address and with the same cookies and/or HTTP headers. Use the `--cookies` option to write the required cookies into a file, and advise your downloader to read cookies from that file. Some sites also require a common user agent to be used, use `--dump-user-agent` to see the one in use by youtube-dl. You can also get necessary cookies and HTTP headers from JSON output obtained with `--dump-json`.
 
 It may be beneficial to use IPv6; in some cases, the restrictions are only applied to IPv4. Some services (sometimes only for a subset of videos) do not restrict the video URL by IP address, cookie, or user-agent, but these are the exception rather than the rule.