YoutubeExtractor
YoutubeExtractor copied to clipboard
ERROR in VideoDownloader.cs
in Line 45:
using (WebResponse response = request.GetResponse())
Error in remote server (403) Forbidden.
since 28.8.2018 I have the same problem
same here on some videos (maybe because music in video is copyrighted)
Same here, with music videos? Someone? i noticed that youtubedl are having issues with particular music videos, something on youtube side?
If someone give me the steps in where to look i can try to fix.
I think is related to the decipher.
Its running fine now.
This is a really strange behavior, really back to work, i think can be related to some youtube test, or youtube server issues.
I was having forbidden errors every day in some videos. Can be due to "ytAgeRestricted"?
Decipher seems out of date again.
all videos are failing now using (WebResponse response = request.GetResponse())
reference from youtube-dl youtube update signature update your Decipherer.cs file line 16: string functNamePattern = @"(\w+)\s*=\sfunction((\w+)){\s\2=\s*\2.split("""")\s*;"; it's working for me now
does not work for me when downloading a video with signature
I would like to make a correction to LinPolly's comment by suggesting a new regex:
(\w+)=function\((\w+)\){\2=\2\.split\(\"\"\);
Making line 16 in Decipherer.cs be:
string functNamePattern = @"(\w+)=function\((\w+)\){\2=\2\.split\(\""\""\);";
Here's another, more robust solution that takes whitespace into account:
(\w+)\s*=\s*function\(\s*(\w+)\s*\)\s*{\s*\2\s*=\s*\2\.split\(\"\"\)\s*;(.+)return\s*\2\.join\(\"\"\)\s*}\s*;
thanks a lot @GlavitsBalazs it works like a charm after I update the regex line in the Decipherer.cs to:
string functNamePattern = @"(\w+)\s*=\s*function\(\s*(\w+)\s*\)\s*{\s*\2\s*=\s*\2\.split\(\""\""\)\s*;(.+)return\s*\2\.join\(\""\""\)\s*}\s*;";
Is working with videos with signature?
just try it, but yes
https://github.com/mrklintscher/AVTube/commit/2c44d4ca72ae4bc7810524e596bb98fab2036890
Im having a real hard time finding the cs file that needs updated. anyone have the path i need to look in?
Already fixed in other repos.
RickdiculousGamer [email protected] schrieb am Di., 18. Sep. 2018, 02:28:
Im having a real hard time finding the cs file that needs updated. anyone have the path i need to look in?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/flagbug/YoutubeExtractor/issues/313#issuecomment-422213666, or mute the thread https://github.com/notifications/unsubscribe-auth/AS8cPlExG1oDsvaFFAFm5X803i_E11Nmks5ucD4ggaJpZM4WQRsJ .
Thanks, fixed my app because of this comment.