编写爬虫自动下载王者荣耀官网上好看的壁纸

前言

偶然间发现王者荣耀的官网上发布了这么多好看的壁纸。 地址:http://pvp.qq.com/web201605/wallpaper.shtml 看了一下,每一张都挺喜欢的,而且还有十多页,一张一张去慢慢下载肯定不是作为一个Geeker的正确姿势。 由于最近python用得比较多,所以看到什么好玩的就想爬虫下载下来,所以看到这么多好看图片,我又“熟练”地掏出了python

分析

这个网站长这样。 首先对腾讯这个网站进行分析。

这个每一个小图对应的div

<ul>标签里面的列表就是各个尺寸的图片地址。

那么既然是直接有图片地址那就很简单了,把网页的代码下载下来,然后用lxml匹配一下图片的名称和各个尺寸的图片地址,就OK了。

然而

没错,事情没有这么简单,腾讯毕竟是大厂,他的网站岂是你想爬就能爬的??

在准备写代码的时候又发现了一个问题。 我要先把每一页的地址都保存起来,这样才可以一次性爬取所有图片。 那么,只要分析这个每一页的超链接地址就行。 然鹅。

excuse me??? 你可能在逗我,地址呢?? 居然是调用了js函数,很气。 这样我岂不是还得找一下对应的js代码在哪里。


然后,就开始找js代码,找了半天也没找到这个PageToIndex的js函数到底藏在那个文件里。 就在我想要换别的爬虫方式的时候,有个大佬来到实验室,我向大佬请教了一番,大佬果然是大佬,一下子就把问题解决了。

解决

经过大佬提醒,我不再纠结于找js代码,而是直接抓包,果然没有什么是抓包解决不了的。 果然,在点击第二页之后,抓到了这个: 来看一下里面有什么:

看到List了!还有这些,这不就是我们要的下载的图片地址吗???

大佬出手不凡,这下连爬虫都不用了,我们以及发现了腾讯这个网站获取壁纸的接口了,直接构造请求调用就行了。

调用接口

来分析一下这个接口要怎么使用。 继续看刚刚抓到的数据: 这里就是接口地址,还有HTTP方法。由于使用了Get方法,所以可以直接把整个URL复制下来然后构造请求参数。 不过这个URL太长了,看着头晕,所以看这个参数表吧。 这个参数也是很好懂,要不同的页面就给page传入不同的数字就行,0就是第一页。

测试一下接口

把这串长长的URL复制到浏览器里打开,就得到一串长长的Json结果。

jQuery171004025214512043873_1513834808059({"iBltFlag":"0","iCache":"1","iRet":"0","iTotalLines":"241","iTotalPages":"13","sMsg":"Successful","List":[{"dtInputDT":"2017%2D10%2D23%2014%3A20%3A08","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"636","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102314%2F1508739607%5F1644740874%5F13023%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102314%2F1508739607%5F1644740874%5F13023%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102314%2F1508739607%5F1644740874%5F13023%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102314%2F1508739607%5F1644740874%5F13023%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102314%2F1508739607%5F1644740874%5F13023%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102314%2F1508739607%5F1644740874%5F13023%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102314%2F1508739608%5F1644740874%5F13023%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102314%2F1508739608%5F1644740874%5F13023%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E7%99%BE%E9%87%8C%E7%8E%84%E7%AD%96%2D%E5%99%A8%E7%8B%82%E4%B9%8B%E9%95%B0","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102314%2F1508739607%5F1644740874%5F13023%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D10%2D20%2011%3A18%3A56","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"634","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469535%5F1644740874%5F9419%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469535%5F1644740874%5F9419%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469535%5F1644740874%5F9419%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469535%5F1644740874%5F9419%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469535%5F1644740874%5F9419%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469536%5F1644740874%5F9419%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469536%5F1644740874%5F9419%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469536%5F1644740874%5F9419%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E9%92%9F%E9%A6%97%2D%E8%99%9A%E7%81%B5%E5%9F%8E%E5%88%A4","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469535%5F1644740874%5F9419%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D10%2D20%2011%3A16%3A40","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"633","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469399%5F1644740874%5F10632%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469399%5F1644740874%5F10632%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469399%5F1644740874%5F10632%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469399%5F1644740874%5F10632%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469400%5F1644740874%5F10632%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469400%5F1644740874%5F10632%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469400%5F1644740874%5F10632%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469400%5F1644740874%5F10632%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E9%98%BF%E8%BD%B2%2D%E8%87%B4%E5%91%BD%E9%A3%8E%E5%8D%8E","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735102011%2F1508469399%5F1644740874%5F10632%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D30%2010%3A53%3A58","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"632","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735093010%2F1506740036%5F1644740874%5F7530%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735093010%2F1506740036%5F1644740874%5F7530%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735093010%2F1506740036%5F1644740874%5F7530%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735093010%2F1506740036%5F1644740874%5F7530%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735093010%2F1506740037%5F1644740874%5F7530%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735093010%2F1506740037%5F1644740874%5F7530%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735093010%2F1506740037%5F1644740874%5F7530%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735093010%2F1506740038%5F1644740874%5F7530%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E8%B2%82%E8%9D%89%2D%E4%BB%B2%E5%A4%8F%E5%A4%9C%E4%B9%8B%E6%A2%A6","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735093010%2F1506740036%5F1644740874%5F7530%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A29%3A09","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"631","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508146%5F1644740874%5F24067%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508146%5F1644740874%5F24067%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508146%5F1644740874%5F24067%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508147%5F1644740874%5F24067%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508147%5F1644740874%5F24067%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508148%5F1644740874%5F24067%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508149%5F1644740874%5F24067%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508149%5F1644740874%5F24067%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E8%B5%B5%E4%BA%91%2D%E5%98%BB%E5%93%88%E5%A4%A9%E7%8E%8B","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508146%5F1644740874%5F24067%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A27%3A59","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"630","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508076%5F1644740874%5F6743%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508077%5F1644740874%5F6743%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508077%5F1644740874%5F6743%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508077%5F1644740874%5F6743%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508077%5F1644740874%5F6743%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508078%5F1644740874%5F6743%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508078%5F1644740874%5F6743%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508078%5F1644740874%5F6743%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E8%B5%B5%E4%BA%91%2D%E7%9A%87%E5%AE%B6%E4%B8%8A%E5%B0%86","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508076%5F1644740874%5F6743%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A26%3A59","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"629","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508017%5F1644740874%5F23675%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508017%5F1644740874%5F23675%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508017%5F1644740874%5F23675%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508017%5F1644740874%5F23675%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508018%5F1644740874%5F23675%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508018%5F1644740874%5F23675%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508018%5F1644740874%5F23675%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508018%5F1644740874%5F23675%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E8%B5%B5%E4%BA%91%2D%E7%99%BD%E6%89%A7%E4%BA%8B","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506508017%5F1644740874%5F23675%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A25%3A43","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"628","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507942%5F1644740874%5F2173%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507942%5F1644740874%5F2173%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507942%5F1644740874%5F2173%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507942%5F1644740874%5F2173%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507942%5F1644740874%5F2173%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507942%5F1644740874%5F2173%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507943%5F1644740874%5F2173%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507943%5F1644740874%5F2173%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E8%99%9E%E5%A7%AC%2D%E6%A3%AE%E4%B9%8B%E9%A3%8E%E7%81%B5","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507942%5F1644740874%5F2173%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A21%3A24","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"625","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507681%5F1644740874%5F4556%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507682%5F1644740874%5F4556%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507682%5F1644740874%5F4556%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507682%5F1644740874%5F4556%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507682%5F1644740874%5F4556%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507683%5F1644740874%5F4556%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507683%5F1644740874%5F4556%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507683%5F1644740874%5F4556%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E9%9B%85%E5%85%B8%E5%A8%9C%2D%E6%88%98%E4%BA%89%E5%A5%B3%E7%A5%9E","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507681%5F1644740874%5F4556%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A20%3A16","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"624","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507615%5F1644740874%5F18816%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507615%5F1644740874%5F18816%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507615%5F1644740874%5F18816%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507615%5F1644740874%5F18816%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507615%5F1644740874%5F18816%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507616%5F1644740874%5F18816%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507616%5F1644740874%5F18816%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507616%5F1644740874%5F18816%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E5%B0%8F%E4%B9%94%2D%E7%BC%A4%E7%BA%B7%E7%8B%AC%E8%A7%92%E5%85%BD","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507615%5F1644740874%5F18816%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A16%3A25","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"622","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507382%5F1644740874%5F27300%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507383%5F1644740874%5F27300%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507383%5F1644740874%5F27300%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507383%5F1644740874%5F27300%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507383%5F1644740874%5F27300%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507384%5F1644740874%5F27300%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507384%5F1644740874%5F27300%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507385%5F1644740874%5F27300%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E9%A1%B9%E7%BE%BD%2D%E8%81%8C%E6%A3%92%E7%8E%8B%E7%89%8C","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507382%5F1644740874%5F27300%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A14%3A35","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"621","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507273%5F1644740874%5F14635%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507273%5F1644740874%5F14635%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507274%5F1644740874%5F14635%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507274%5F1644740874%5F14635%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507274%5F1644740874%5F14635%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507274%5F1644740874%5F14635%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507275%5F1644740874%5F14635%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507275%5F1644740874%5F14635%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E6%AD%A6%E5%88%99%E5%A4%A9%2D%E4%B8%9C%E6%96%B9%E4%B8%8D%E8%B4%A5","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507273%5F1644740874%5F14635%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A11%3A30","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"620","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507088%5F1644740874%5F16174%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507088%5F1644740874%5F16174%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507088%5F1644740874%5F16174%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507089%5F1644740874%5F16174%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507089%5F1644740874%5F16174%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507089%5F1644740874%5F16174%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507089%5F1644740874%5F16174%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507090%5F1644740874%5F16174%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E7%89%9B%E9%AD%94%2D%E8%A5%BF%E9%83%A8%E5%A4%A7%E9%95%96%E5%AE%A2","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506507088%5F1644740874%5F16174%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A07%3A57","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"619","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506875%5F1644740874%5F1203%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506876%5F1644740874%5F1203%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506876%5F1644740874%5F1203%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506876%5F1644740874%5F1203%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506876%5F1644740874%5F1203%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506876%5F1644740874%5F1203%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506877%5F1644740874%5F1203%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506877%5F1644740874%5F1203%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E5%90%95%E5%B8%83%2D%E5%A4%A9%E9%AD%94%E7%BC%AD%E4%B9%B1","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506875%5F1644740874%5F1203%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2018%3A06%3A35","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"618","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506793%5F1644740874%5F677%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506793%5F1644740874%5F677%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506794%5F1644740874%5F677%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506794%5F1644740874%5F677%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506794%5F1644740874%5F677%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506794%5F1644740874%5F677%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506795%5F1644740874%5F677%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506795%5F1644740874%5F677%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E5%BB%89%E9%A2%87%2D%E5%9C%B0%E7%8B%B1%E5%B2%A9%E9%AD%82","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092718%2F1506506793%5F1644740874%5F677%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2017%3A59%3A29","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"617","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506506367%5F1644740874%5F362%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506506367%5F1644740874%5F362%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506506367%5F1644740874%5F362%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506506367%5F1644740874%5F362%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506506367%5F1644740874%5F362%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506506368%5F1644740874%5F362%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506506368%5F1644740874%5F362%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506506368%5F1644740874%5F362%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E5%A4%A7%E4%B9%94%2D%E4%BC%8A%E5%8A%BF%E5%B7%AB%E5%A5%B3","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506506367%5F1644740874%5F362%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D27%2017%3A51%3A04","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"616","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506505863%5F1644740874%5F30801%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506505863%5F1644740874%5F30801%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506505863%5F1644740874%5F30801%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506505863%5F1644740874%5F30801%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506505863%5F1644740874%5F30801%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506505863%5F1644740874%5F30801%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506505864%5F1644740874%5F30801%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506505864%5F1644740874%5F30801%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E5%A6%B2%E5%B7%B1%2D%E5%B0%91%E5%A5%B3%E9%98%BF%E7%8B%B8","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092717%2F1506505863%5F1644740874%5F30801%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D26%2016%3A02%3A38","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"614","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092616%2F1506412955%5F1644740874%5F25340%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092616%2F1506412955%5F1644740874%5F25340%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092616%2F1506412956%5F1644740874%5F25340%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092616%2F1506412956%5F1644740874%5F25340%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092616%2F1506412956%5F1644740874%5F25340%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092616%2F1506412957%5F1644740874%5F25340%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092616%2F1506412957%5F1644740874%5F25340%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092616%2F1506412958%5F1644740874%5F25340%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E5%AD%99%E5%B0%9A%E9%A6%99%2D%E6%9D%80%E6%89%8B%E4%B8%8D%E5%A4%AA%E5%86%B7","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092616%2F1506412955%5F1644740874%5F25340%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D25%2012%3A21%3A21","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"613","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313280%5F1644740874%5F29481%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313280%5F1644740874%5F29481%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313280%5F1644740874%5F29481%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313280%5F1644740874%5F29481%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313281%5F1644740874%5F29481%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313281%5F1644740874%5F29481%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313281%5F1644740874%5F29481%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313281%5F1644740874%5F29481%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E7%99%BE%E9%87%8C%E5%AE%88%E7%BA%A6%2D%E7%BB%9D%E5%BD%B1%E7%A5%9E%E6%9E%AA","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313280%5F1644740874%5F29481%5FsProdImgNo%5F1%2Ejpg%2F200"},{"dtInputDT":"2017%2D09%2D25%2012%3A20%3A12","iBallotNum":"0","iClickNum":"0","iDownloadNum":"0","iNonsupportNum":"0","iProdId":"612","iStatus":"1","sProdDesc_1":"","sProdDesc_2":"","sProdDesc_3":"","sProdDesc_4":"","sProdDesc_5":"","sProdDesc_6":"","sProdDesc_7":"","sProdDesc_8":"","sProdImgNo_1":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313208%5F1644740874%5F3024%5FsProdImgNo%5F1%2Ejpg%2F200","sProdImgNo_2":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313208%5F1644740874%5F3024%5FsProdImgNo%5F2%2Ejpg%2F200","sProdImgNo_3":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313209%5F1644740874%5F3024%5FsProdImgNo%5F3%2Ejpg%2F200","sProdImgNo_4":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313209%5F1644740874%5F3024%5FsProdImgNo%5F4%2Ejpg%2F200","sProdImgNo_5":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313209%5F1644740874%5F3024%5FsProdImgNo%5F5%2Ejpg%2F200","sProdImgNo_6":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313209%5F1644740874%5F3024%5FsProdImgNo%5F6%2Ejpg%2F200","sProdImgNo_7":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313209%5F1644740874%5F3024%5FsProdImgNo%5F7%2Ejpg%2F200","sProdImgNo_8":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313211%5F1644740874%5F3024%5FsProdImgNo%5F8%2Ejpg%2F200","sProdName":"%E7%99%BE%E9%87%8C%E5%AE%88%E7%BA%A6%2D%E9%9D%99%E8%B0%A7%E4%B9%8B%E7%9C%BC","sProdName_1":"","sProdName_2":"","sProdName_3":"","sProdName_4":"","sProdName_5":"","sProdName_6":"","sProdName_7":"","sProdName_8":"","sThumbURL":"http%3A%2F%2Fshp%2Eqpic%2Ecn%2Fishow%2F2735092512%2F1506313208%5F1644740874%5F3024%5FsProdImgNo%5F1%2Ejpg%2F200"}]})

代码实现

ok了,现在一切准备就绪,开始用代码来实现批量下载图片。

首先是获取一个页面中的所有壁纸列表

import requests
import json

workList_url = "http://apps.game.qq.com/cgi-bin/ams/module/ishow/V1.0/query/workList_inc.cgi"

def getlist(page_id):
    global workList_url
    worklist_params = {
        "activityId":     "2738",
        "sVerifyCode":    "ABCD",
        "sDataType":      "JSON",
        "iListNum":       "20",
        "totalpage":      "0",
        "page":           page_id,
        "iOrder":         "0",
        "iSortNumClose":  "1",
        "jsoncallback":   "jQuery17101954572044754206_1513821397041",
        "iAMSActivityId": "51991",
        "_everyRead":     "true",
        "iTypeId":        "2",
        "iFlowId":        "267733",
        "iActId":         "2735",
        "iModuleId":      "2735",
        "_":              "1513821606943"
    }
    result = requests.get(workList_url, params=worklist_params)
    worklist_raw = result.text
    worklist_json = worklist_raw[worklist_raw.find('(') + 1:len(worklist_raw) - 2]
    worklist = json.loads(parse.unquote(worklist_json))
    return worklist

什么?你问怎么获取所有页面。 其实我是用for循环从0到11(因为有12个页面)。怎样方便就怎么做了。

然后这是下载图片的方法:

import requests

def download_img(url, path):
    try:
        image_data = requests.get(url, timeout=15)
    except Exception as e:
        print("下载图片出错,%s,%s" % (e, url))
        return False

    with open(path, 'wb') as f:
        f.write(image_data.content)

    return True

其实主要的难点还是在分析那一块,代码实现真的没有什么技术含量。

完整代码

import requests
import json
import os
import sys
from urllib import parse

url = 'http://pvp.qq.com/web201605/wallpaper.shtml'

workList_url = "http://apps.game.qq.com/cgi-bin/ams/module/ishow/V1.0/query/workList_inc.cgi"

json_url = '''
        http://apps.game.qq.com/cgi-bin/ams/module/ishow/V1.0/query/workList_inc.cgi?
        activityId=2735&
        sVerifyCode=ABCD&
        sDataType=JSON&
        iListNum=20&
        totalpage=0&
        page=1&
        iOrder=0&
        iSortNumClose=1&
        jsoncallback=jQuery17101954572044754206_1513821397041&
        iAMSActivityId=51991&
        _everyRead=true&
        iTypeId=2&
        iFlowId=267733&
        iActId=2735&
        iModuleId=2735&
        _=1513821606943'''

saveFolder = "image"

imageSizeName = [None, None, '1024x768', '1280x720', '1280x1024', '1440x900', '1920x1080', '1920x1200', '1920x1440']


def getlist(page_id):
    global workList_url
    worklist_params = {
        "activityId":     "2738",
        "sVerifyCode":    "ABCD",
        "sDataType":      "JSON",
        "iListNum":       "20",
        "totalpage":      "0",
        "page":           page_id,
        "iOrder":         "0",
        "iSortNumClose":  "1",
        "jsoncallback":   "jQuery17101954572044754206_1513821397041",
        "iAMSActivityId": "51991",
        "_everyRead":     "true",
        "iTypeId":        "2",
        "iFlowId":        "267733",
        "iActId":         "2735",
        "iModuleId":      "2735",
        "_":              "1513821606943"
    }
    result = requests.get(workList_url, params=worklist_params)
    worklist_raw = result.text
    worklist_json = worklist_raw[worklist_raw.find('(') + 1:len(worklist_raw) - 2]
    worklist = json.loads(parse.unquote(worklist_json))
    return worklist


def download_list(list):
    global imageSizeName
    makedir(saveFolder)
    for item in list['List']:
        makedir(saveFolder, item['sProdName'])
        print("创建文件夹(%s)" % item['sProdName'])

        for i in range(2, 9):
            node_name = 'sProdImgNo_' + str(i)
            image_rawurl = item[node_name]
            image_url = image_rawurl[:len(image_rawurl) - 3] + '0'

            image_savepath = os.path.join(sys.path[0], saveFolder, item['sProdName'],
                                          item['sProdName'] + '_' + imageSizeName[i] + '.jpg')
            if download_img(image_url, image_savepath):
                print('成功下载图片:%s, 尺寸:%s' % (item['sProdName'], imageSizeName[i]))


def download_img(url, path):
    try:
        image_data = requests.get(url, timeout=15)
    except Exception as e:
        print("下载图片出错,%s,%s" % (e, url))
        return False

    with open(path, 'wb') as f:
        f.write(image_data.content)

    return True


def makedir(*dirname):
    dirpath = os.path.join(sys.path[0], *dirname)
    if not os.path.exists(dirpath):
        os.mkdir(dirpath)


if __name__ == '__main__':
    for i in range(1, 12):
        list = getlist(i)
        download_list(list)

运行效果

下载下来的图片: 每个图片都下载了所有尺寸

壁纸下载

链接:点击下载 总共236套壁纸下载:点击下载 链接不能用可以在公众号联系我。

爬虫程序打包成EXE下载

链接:点击下载

About

了解更多有趣的操作请关注我的微信公众号:DealiAxy 每一篇文章都在我的博客有收录:blog.deali.cn