Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"Sports.ru":{"link":"^(?:cyber\\.)?sports\\.ru/[^/]+/\\d+(?:-\\w+)+-?\\.html$","url":": (()=>{if(location.hostname.endsWith('.sports.ru')&&!/(?:Фот|Виде)о/.test(this.node.closest('a')?.previousElementSibling?.innerText||''))throw '';return $[0]})()","res":":\nlet m,o=$._;\nif(m=o.match(/src=\"[^\"]+(\\.webcaster\\.pro\\/)iframe\\/feed(\\/[^?]+)/))return {loop:'//bl'+m[1]+'media'+m[2]+'.m3u8'};\nif(m=o.match(/\"sb-iframe\" src=\"([^\"]+)/))return {loop:m[1].replace(/&/g,'&')};\nif(m=o.match(/data-telegram-post=\"([^\"]+)/))return {loop:'//t.me/'+m[1]+'?embed=1'};\nif(m=o.match(/href=\"(https:\\/\\/vk(?:video\\.ru|\\.com)\\/video[^\"]+)/))return {loop:m[1]};\nreturn [...o.matchAll(/data-hight-src=\"([^?\"]+)(?![^\"]*\"><picture>)/g)].map(i=>[i[1]]);","note":"Imagus_fan\nhttps://www.reddit.com/r/imagus/comments/1iklqrk/comment/mbzqaxv\n\nПРИМЕРЫ\nhttps://www.sports.ru/news/#menu-sub"}}
Add Comment
Please, Sign In to add comment