2

I'm trying to wget all the images pictures from a website. I thought I knew how to use it, but I guess I don't.

The images I'm trying to get come from here.

The command I'm using is:

wget -prA.png http://gameinfo.euw.leagueoflegends.com/en/game-info/champions/

But I only get a index.html back?

Could somebody explain this?

1

1 Answer 1

4

The web page uses dynamic HTML to display the champion grid content (just look at the HTML source of the page and search for "Champion Grid", the only thing under that is some empty divs. Since wget doesn't do javascript, it won't execute the code that would generate the grid HTML (and link the images).

1
  • I thought that but I didn't knew wget couldn't get this. Thank you for your answer and I will find a different way
    – Haagenti
    Sep 4, 2013 at 9:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.