- added women's day celebration emoji
- fixed vk user id extraction
This commit is contained in:
wukko
2023-03-08 13:17:33 +06:00
parent 2884bd9081
commit daa2856d92
6 changed files with 15 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ const resolutionMatch = {
export default async function(o) {
let html;
html = await fetch(`https://vk.com/video-${o.userId}_${o.videoId}`, {
html = await fetch(`https://vk.com/video${o.userId}_${o.videoId}`, {
headers: { "user-agent": genericUserAgent }
}).then((r) => { return r.text() }).catch(() => { return false });
if (!html) return { error: 'ErrorCouldntFetch' };