-
Notifications
You must be signed in to change notification settings - Fork 374
YoutubeExtractor.YoutubeParseException: Could not parse the Youtube page #368
Comments
me too ... |
Same issue:
|
I have found that the json don't contains args url_encoded_fmt_stream_map and adaptive_fmts so the functions GetStreamMap and GetAdaptiveStreamMap failed to provide the urls. Any idea how to solve this? |
I have tried to change the GetStreamMap from |
Thanks a lot for the answer and it seems like there is a lot of other
information in the PlayerRelatedToken.
This is not helping to YoutubeExtractor because this is a different page
structure.
do you know how can I fix YoutubeExtractor?
…On Sat, Jan 4, 2020 at 11:28 PM thehighboy ***@***.***> wrote:
i was thinking last night and wasnt sure if you knew but you can get
related and mix videos by extracting RELATED_PLAYER_ARGS like this.
`
Dim PlayerRelated = New Regex("RELATED_PLAYER_ARGS':(.*),",
RegexOptions.Multiline)
Dim PlayerRelatedExtracted As String = PlayerRelated.Match(content).Result("$1")
Dim PlayerRelatedToken = JToken.Parse(PlayerRelatedExtracted)
`
have a look at the PlayerRelatedToken theres alot of good stuff in there ;)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#368?email_source=notifications&email_token=ADHH36HKLGBW5DK5SDD4XILQ4D5OXA5CNFSM4JLGDDO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIDAWSI#issuecomment-570821449>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADHH36DKRBPROAQDXDJAEVDQ4D5OXANCNFSM4JLGDDOQ>
.
--
Noam Maoz
Oron-Software <http://www.oron-software.com/>
Mobile: +972-54-5549481
Mail: [email protected] <[email protected]>
Mail: [email protected] <[email protected]>
|
I was able to get around this by doing the following:
2- Add the following helper function:
3- Replace GetAdaptiveStreamMap by the following
4- Replace GetStreamMap by the following:
5- Replace GetHtml5PlayerVersion by the following:
My fix will work only for unencrypted contents. We still need to fix the isEncrypted attribute |
Thanks a lot for the response and solution. The Decipherer.cs - DecipherWithVersion need to change I have still having problem to download and i think it related to encrypted/signature. i'm getting 403 error. |
Whats the link with the issue or are you having problems with all in general ? |
for example: https://www.youtube.com/watch?v=DkeiKbqa02g |
i will download this library and see if i can fix for you. |
Which library you are using? |
im using my own code but when i started my project i used the decipher from this one.i am working on this one as i type and should be able to upload it tomorrow. |
I fixed the structure change of Youtube. You can try it. |
took a quick look at it and it did download noammaoz link.i see you never changed the get title does it ever return a title that way ? and if you get the cipher once you can reuse for the lifetime of the app.Thank you now i will continue my own app as it needs love too ;) |
This library is working fine. Thanks a lot. |
tested on 3 link
all had the same error
The text was updated successfully, but these errors were encountered: