We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91989b8 commit 1ad54bcCopy full SHA for 1ad54bc
api/src/processing/services/bilibili.js
@@ -1,4 +1,4 @@
1
-import { genericUserAgent, env } from "../../config.js";
+import { env } from "../../config.js";
2
import { resolveRedirectingURL } from "../url.js";
3
4
// TO-DO: higher quality downloads (currently requires an account)
@@ -26,7 +26,7 @@ async function com_download(id, partId) {
26
27
const html = await fetch(url, {
28
headers: {
29
- "user-agent": genericUserAgent
+ "user-agent": "facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)",
30
}
31
})
32
.then(r => r.text())
0 commit comments