curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: How do I dig out the "video" address in this web site?

From: Petite Abeille via curl-users <>
Date: Fri, 23 Apr 2021 11:00:04 +0200

> On Apr 23, 2021, at 10:40, ToddAndMargo via curl-users <> wrote:

Ah. The trick is to retrieve the embedded url:

# youtube-dl
[RumbleEmbed] vc34wl: Downloading JSON metadata
[download] Destination: Yann Tiersen - Comptine d&apos;un autre été (Guitar cover) - Amelie movie soundtrack-vc34wl.mp4
[download] 100% of 49.48MiB in 00:14

Of course, the embedded url itself is obfuscated in layers upon layers of javascript:

# curl -s | pup 'json{}' | gron | grep ''
json[0].children[0].children[0].children[12].text = "[{\"_at_context\":\"\",\"_at_type\":\"VideoObject\",\"name\":\"Yann Tiersen - Comptine d'un autre été (Guitar cover) - Amelie movie soundtrack\",\"playerType\":\"HTML5\",\"description\":\"Yann Tiersen - Comptine d'un autre été (Guitar cover) - Amelie movie soundtrack Learn Spanish guitar with one of my guitar courses: Songs for Spanish and Classical Guitar: https://www.thespanishguitar\",\"thumbnailUrl\":\"\",\"uploadDate\":\"2021-03-16T12:07:17+00:00\",\"duration\":\"PT00H02M34S\",\"embedUrl\":\"\",\"url\":\"\",\"interactionStatistic\":{\"_at_type\":\"InteractionCounter\",\"interactionType\":{\"_at_type\":\"\"},\"userInteractionCount\":48},\"width\":1920,\"height\":1080,\"vide!
 oQuality\":\"Full HD\"},{\"_at_context\":\"\",\"_at_type\":\"WebSite\",\"url\":\"\",\"potentialAction\":{\"_at_type\":\"SearchAction\",\"target\":\"{search}\",\"query-input\":\"required name=search\"}},{\"_at_context\":\"\",\"_at_type\":\"Organization\",\"name\":\"Rumble\",\"url\":\"\",\"logo\":\"\",\"sameAs\":[\"\",\"\"]}]";

Received on 2021-04-23