Skip to content

Commit

Permalink
Merge pull request #43 from tomasdenhouting/patch-1
Browse files Browse the repository at this point in the history
Bump user-agent version
  • Loading branch information
adasq authored Feb 19, 2024
2 parents 0b26fe5 + 2ec3213 commit 9188040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/youtube-studio-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const {VM} = require('vm2');
const uploadFile = require('./upload');

const YT_STUDIO_URL = 'https://studio.youtube.com';
const USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36';
const USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36';
const IT_WILL_BE_SET_DURING_REQUEST_BUILD = null;

const generateSAPISIDHASH = (date, sapisid) => `${date}_${sha1(`${date} ${sapisid} ${YT_STUDIO_URL}`)}`
Expand Down

0 comments on commit 9188040

Please sign in to comment.