Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kaimi-io/yandex-music-download.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaimi <kaimi-@users.noreply.github.com>2020-09-09 10:41:23 +0300
committerGitHub <noreply@github.com>2020-09-09 10:41:23 +0300
commitc6ff6dbbe42e5da8e31f716f565f4f03f04a54c7 (patch)
tree117d2b08edd9d8990f6b541ba3758c949c6d3a4e
parent40828d629176c4925322cc4683a5a7fe2566a687 (diff)
Remove Cookie2 request header
-rwxr-xr-xsrc/ya.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ya.pl b/src/ya.pl
index 9a0871b..3e9fce7 100755
--- a/src/ya.pl
+++ b/src/ya.pl
@@ -290,7 +290,10 @@ my $ua = LWP::UserAgent->new
X_Retpath_Y => 1,
Cookie => $cookie
),
- cookie_jar => new HTTP::Cookies,
+ cookie_jar => HTTP::Cookies->new
+ (
+ hide_cookie2 => 1
+ ),
timeout => TIMEOUT,
ssl_opts =>
{