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: Thu, 22 Apr 2021 17:26:36 -0700

On 4/22/21 4:07 PM, Dan Fandrich via curl-users wrote:
> On Thu, Apr 22, 2021 at 03:37:45PM -0700, ToddAndMargo via curl-users wrote:
>> 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.
>
> If you can't find it in the source code, then it's likely dynamically generated
> with JavaScript. You might be able to figure out how to download some JSON from
> somewhere and stitch together the URL yourself, but that will be tricky and
> fragile. Another technique is to use a headless browser to execute the
> JavaScript, then you can snatch the URL from there, but there will be a steep
> learning curve to do that. If you're really lucky, then there will be a nice
> documented API that will give you exactly what you need.
>
> Dan

Hi Dan,

firefox-87.0-12.fc33.x86_64

--> Tools
     --> Web Development
       --> Network

to chase down JSON calls. But it disappeared from
Firefox.

:'(

-T

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