Advertisement
Guest User

Untitled

a guest
Jul 28th, 2024
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. {"Dzen":{"link":"^dzen\\.ru/(?:shorts|video/watch)/[a-f0-9]+","res":":\n$=JSON.parse($._.match(/\\(({\"data\":{\"MICRO_.+?})\\)/)?.[1]||'{}').data?.MICRO_APP_SSR_DATA?.settings?.exportData?.video;\nthis.TRG.IMGS_ext_data = [ '//' + 'data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"640\" height=\"360\"></svg>', `<imagus-extension type=\"videojs\" url=\"${$?.video?.streams[1]}\"></imagus-extension>${$?.title}` ];\nreturn $ ? {loop:'imagus://extension'} : null"},"plvideo":{"link":"^plvideo\\.ru/(?:shorts/|watch\\?v=)([\\w-]{12}).*","url":"//api.g1.plvideo.ru/v1/videos/$1?Aud=16","res":":\n$=JSON.parse($._).item;\nif(!$)return null;\nconst t=[$.title,$.channel.name,new Date($.createdAt).toLocaleString('ru-RU'),$.description].filter(Boolean).join(\" | \");\n$=Object.entries($.profiles).sort((a,b)=>parseInt(b[0])-parseInt(a[0]))[0][1].hls+'#.m3u8';// '#.m3u8' needed for media to be recognized as HLS.\nthis.TRG.IMGS_ext_data = [ '//' + 'data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"640\" height=\"360\"></svg>', `<imagus-extension type=\"videojs\" url=\"${$}\"></imagus-extension>${t}` ];\nreturn {loop:'imagus://extension'}","img":"^blob:https://plvideo\\.ru/[a-f0-9-]+$","loop":2,"to":":\n$=this.node.closest('[data-video-id]')?.getAttribute('data-video-id');\nreturn $ ? '//plvideo.ru/watch?v='+$ : ''"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement