liubaobei199209's recent timeline updates
liubaobei199209

liubaobei199209

V2EX member #150475, joined on 2015-12-08 14:16:32 +08:00
liubaobei199209's recent replies
Dec 10, 2015
Replied to a topic by liubaobei199209 问与答 有没有人爬虫过 APP???求赐教
Dec 10, 2015
Replied to a topic by liubaobei199209 问与答 有没有人爬虫过 APP???求赐教
@Daniel65536 我抓的下载应用是我小,米手机上的应用商店,这是抓的一个地址 http://t1.market.xiaomi.com/thumbnail/webp/l320q80/AppStore/00766c5d9bd20437923ee91393f53ebc9f6525b76 ,我要爬这个 APP 下的 URL 。然后 python 代码如下:
# coding:utf-8
import re
import requests
r = requests.get('http://t1.market.xiaomi.com/thumbnail/webp/l320q80/AppStore/')
data = r.text
# 利用正则查找所有连接
link_list =re.findall(r"(?<=href=\").+?(?=\")|(?<=href=\').+?(?=\')" ,data)
for url in link_list:
print url
我为什么就爬不出来?是不是正则表达式写错了,正确的是怎样的?
Dec 9, 2015
Replied to a topic by liubaobei199209 问与答 有没有人爬虫过 APP???求赐教
@Daniel65536 你说的用代理找 RESTful 接口,具体怎么操作呢?我还是个没基础没经验的学生?求赐教,谢谢了
Dec 9, 2015
Replied to a topic by liubaobei199209 问与答 有没有人爬虫过 APP???求赐教
@zqhong 我现在是要怕豌豆荚下每个分类下的前 100 个应用的作者几简介信息,用抓包的话那不是要手动操作无数次吗?
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5820 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 07:33 · PVG 15:33 · LAX 00:33 · JFK 03:33
♥ Do have faith in what you're doing.