Skip to content

Commit

Permalink
Simplify consent cookie data.
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Aug 18, 2024
1 parent c7fbfd5 commit 0d9515e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/WWW/PipeViewer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,7 @@ sub set_lwp_useragent {
0, {});

my $rand_value = '17' . join('', map { int(rand(10)) } 1 .. 8);

$cookies->set_cookie(0, "SOCS", "CAISNQgCEitib3FfaWRlbnRpdHlmcm9udGVuZHVpc2VydmVyXzIwMjMxMDEwLjAyX3AxGgJ1cyABEgUIYKOy0wU=",
"/", ".youtube.com", undef, 0, 1, $rand_value, 0, {});
$cookies->set_cookie(0, "SOCS", "CAI", "/", ".youtube.com", undef, 0, 1, $rand_value, 0, {});

$agent->cookie_jar($cookies);
}
Expand Down

0 comments on commit 0d9515e

Please sign in to comment.