Skip to content

Commit

Permalink
docs(example): better instructions to find youtube cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
fent committed Aug 20, 2020
1 parent ff62248 commit 784c04e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions example/cookies.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@ const path = require('path');
const fs = require('fs');


// You can get your YouTube cookie by navigating to YouTube in a web browser,
// opening up dev tools (opt+cmd+j on mac), and typing "document.cookie" in the console
// To get your YouTube cookie
// - navigate to YouTube in a web browser
// - open up dev tools (opt+cmd+j on mac)
// - go to the network tab
// - click on a request on the left
// - scroll down to "Request Headers"
// - find the "cookie" header and copy its entire contents
const COOKIE = 'key1=value1; key2=value2; key3=value3';
const id = 'B3eAMGXFw1o';

Expand Down

0 comments on commit 784c04e

Please sign in to comment.