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.

Downloading posters from Amazon

From: John via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 14 Jan 2021 19:30:42 -0500

All,

I tried this once before and got lost.  I have a list of home movies in
a JSON file and I use the internet to retrieve movie data that goes into
the JSON file.  I then download the image poster from Amazon.  I'm using
ooREXX to do the work.  Here is a sample of what I get:

   150 *-*       address system with output stream (poster_jpg);
    152 *-*       "curl -L -O" poster
        >L>         "curl -L -O"
        >V>         POSTER =>
"https://m.media-amazon.com/images/M/MV5BMTRkNWM1MmEtZDYzOC00NWI2LTljYzctYWIwYTdjYWNjYTMxXkEyXkFqcGdeQXVyMTkxNjUyNQ_at__at_._V1_SX300.jpg"
        >O>         " " => "curl -L -O
https://m.media-amazon.com/images/M/MV5BMTRkNWM1MmEtZDYzOC00NWI2LTljYzctYWIwYTdjYWNjYTMxXkEyXkFqcGdeQXVyMTkxNjUyNQ_at__at_._V1_SX300.jpg"
        >>>         "curl -L -O
https://m.media-amazon.com/images/M/MV5BMTRkNWM1MmEtZDYzOC00NWI2LTljYzctYWIwYTdjYWNjYTMxXkEyXkFqcGdeQXVyMTkxNjUyNQ_at__at_._V1_SX300.jpg"
        >V>         POSTER_JPG =>
"C:\Users\John\Documents\IMDB\POSTERS\tt9625664.JPG"
        >K>         "OUTPUT" =>
"C:\Users\John\Documents\IMDB\POSTERS\tt9625664.JPG"
   % Total    % Received % Xferd  Average Speed   Time    Time Time  Current
                                  Dload  Upload   Total   Spent Left  Speed
100 24550  100 24550    0     0  24550      0  0:00:01 --:--:-- 0:00:01 
109k


I don't really understand wht is going on and am not into CURL. Is the
output showing that I downloaded 24550 bytes?  If so, then why does the
file manager say I only downloaded zero.  Is there something else I
should be doing.  I hope someone can help.

Thanks

John


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