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: ToddAndMargo via curl-users <curl-users_at_cool.haxx.se>
Date: Tue, 4 May 2021 04:32:22 -0700

On 4/22/21 3:37 PM, ToddAndMargo via curl-users wrote:
> Hi All,
>
> On this web site:
>
> https://rumble.com/vepb2p-yann-tiersen-comptine-dun-autre-t-guitar-cover-amelie-movie-soundtrack.html
>
>
> Using cURL, how do I dig out / find the "Video" web site of:
>
>     https://sp.rmbl.ws/s8/2/r/j/n/E/rjnEb.caa.1.mp4?u=3&b=0
>
> as seen with Firefox's <ctrl><i>:
>
>     https://ibb.co/Mn3C6yC
>     ?
>
> I can not find it in the source code of the web site.
>
> :'(
>
> Many thanks,
> -T

Figured it out.

It is not in a json. It is in an embedded url:

</script><script
type=application/ld+json>[{"_at_context":"http://schema.org","_at_type":"VideoObject","name":
# "The Piano Soundtrack (guitar
cover)","playerType":"HTML5","description":"The piano soundtrack (guitar
cover)
# Learn Spanish guitar with one of my guitar courses: Songs for
Spanish and Classical Guitar:
# https://www.thespanishguitarhub.com/book2/ Amazon USA:
https://amzn.to/2","thumbnailUrl":"
#
https://i.rmbl.ws/s8/6/J/3/k/D/J3kDb.4Wpjb.1.jpg","uploadDate":"2021-03-11T15:21:52+00:00",
#
"duration":"PT00H02M52S","embedUrl":"https://rumble.com/embed/vbxbfr/","url":"https


This is the embedded url from the above:
https://rumble.com/embed/vbxbfr/


And it contains the address to the video:

<script type="text/javascript">!function(l,a){function d(){return(new
Date).getTime()/1e3}var t,r,o,n,i,u,e=
    #
"Rumble",f={F:0};(a=l[e]=l[e]||function(){a._.push(arguments)})._=a._||[],f.f={},f.b={};f.f["vbxbfr"]=
    # {"fps":29.97,"w":1920,"h":1080,"u":{"
    #
mp4":{"url":"https:\/\/sp.rmbl.ws\/s8\/2\/J\/3\/k\/D\/J3kDb.caa.1.mp4","meta":
...


This is the address to the video:

https:\\sp.rmbl.ws/s8/2/J/3/k/D/J3kDb.caa.1.mp4

And yes, you have to dump a bunch of back slashes.

-T








-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-05-04