Skip to content

Commit

Permalink
update node-ytdl-core to fent/node-ytdl-core#1055
Browse files Browse the repository at this point in the history
  • Loading branch information
garoxas committed Feb 3, 2022
1 parent abe97b1 commit 76a0b71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions data/inject/youtbe-dl/vendor/sig.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ exports.extractFunctions = body => {
};
let extractNCode = () => {
let functionName = utils.between(body, `&&(b=a.get("n"))&&(b=`, `(b)`);
if (functionName.includes('[')) functionName = utils.between(body, `${functionName.split('[')[0]}=[`, `]`);
if (functionName && functionName.length) {
let functionStart = `${functionName}=function(a)`;
let ndx = body.indexOf(functionStart);
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "YouTube Video and Audio Downloader (Dev Edt.)",
"description": "__MSG_appDesc__",
"author": "Feller",
"version": "1.1.6.1",
"version": "1.1.6.2",
"manifest_version": 2,
"default_locale": "en",
"permissions": [
Expand Down

0 comments on commit 76a0b71

Please sign in to comment.