Closed raziel6868 closed 12 hours ago
Consider checking the page's DevTools. The websites might have Content Security Policy (CSP) limitations that restrict script execution. If that's the case, you could try using a CSP unblocker extension or explore different approaches to extract parameters from the pages.
OK, thank you so much for your help
First of all, I must thank you for creating such a powerful extension ☺️
The document.currentScript.output is correctly passed string to [PRE_SCRIPT] on YouTube. However, when I try on other platforms such as Facebook and Reddit, it returns "undefined" to [PRE_SCRIPT].
I'm using Firefox ESR115 and here's my config:
The results: In Youtube:
wt.exe "C:\Program Files\Shutter Encoder\Library\yt-dlp.exe" -S res:1080,fps,vcodec:h264,acodec:aac --no-mtime --cookies-from-browser firefox -o %userprofile%\Desktop\%(title)s.%(ext)s --no-playlist https://www.youtube.com/watch?v=dQw4w9WgXcQ
In Facebook:
wt.exe "C:\Program Files\Shutter Encoder\Library\yt-dlp.exe" -S res:1080,fps,vcodec:h264,acodec:aac --no-mtime --cookies-from-browser firefox -o undefined https://www.facebook.com/watch/?v=2706186239674291
In Reddit:
wt.exe "C:\Program Files\Shutter Encoder\Library\yt-dlp.exe" -S res:1080,fps,vcodec:h264,acodec:aac --no-mtime --cookies-from-browser firefox -o undefined https://www.reddit.com/r/Bossfight/comments/1dkl665/the_brander_being_of_steel_and_flame