简体   繁体   中英

Collecting image from external site

I am making a startpage for my browser right now. I would like to put the day's XKCD and place it on my startpage. How can I get the image from xkcd.com and place it on my startpage? Thank you in advance.

Use XKCD's official API to do this..

The following link will return a JSON will the url to today's comic

http://xkcd.com/info.0.json

Hope it helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM