Skip to content

best way to save what you love

well that's just embarrassing

wukko6c314a1a624a
diff --git a/package.json b/package.json
index fb1abc15..6b1f672b 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "cobalt",
"description": "save what you love",
- "version": "7.5",
+ "version": "7.5.1",
"author": "wukko",
"exports": "./src/cobalt.js",
"type": "module",
diff --git a/src/modules/processing/services/streamable.js b/src/modules/processing/services/streamable.js
index d1f4c4b6..e17a6a28 100644
--- a/src/modules/processing/services/streamable.js
+++ b/src/modules/processing/services/streamable.js
@@ -3,7 +3,7 @@ export default async function(obj) {
if (!video) return { error: 'ErrorEmptyDownload' };
let best = video.files['mp4-mobile'];
- if (video.files.mp4 && (obj.isAudioOnly || obj.quality === "max" || obj.quality >= Number("720"))) {
+ if (video.files.mp4 && (obj.isAudioOnly || obj.quality === "max" || obj.quality >= 720)) {
best = video.files.mp4;
}
diff --git a/src/modules/processing/servicesConfig.json b/src/modules/processing/servicesConfig.json
index 95ec5509..0dbe23f1 100644
--- a/src/modules/processing/servicesConfig.json
+++ b/src/modules/processing/servicesConfig.json
@@ -23,7 +23,7 @@
},
"youtube": {
"alias": "youtube videos, shorts & music",
- "patterns": ["watch?v=:id", "embed/:id"],
+ "patterns": ["watch?v=:id", "embed/:id", "watch/:id"],
"bestAudio": "opus",
"enabled": true
},