# -*- coding: utf-8 -*-
import urllib
import re
d = 1000
url = 'http://gae-xseven01.appspot.com/2'
html = urllib.urlopen(url).read()
m = re.search(r'(.*) ', html, flags=re.I)
print m and m.group(1)or ''
i = m.group(1)
if (i == '503 Over Quota'):
d =d-1
print d
我有APPID从01到09.请问如何批量抓取呢
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
走同样的路,发现不同的人生