racal 最近的时间轴更新
racal

racal

V2EX 第 134516 号会员,加入于 2015-08-23 10:45:41 +08:00
racal 最近回复了
2015-09-06 14:31:26 +08:00
回复了 zix 创建的主题 Python 百度 OCR API Python
@zix 那正好,有不懂的可以向你请教了 XD
2015-09-06 13:21:21 +08:00
回复了 zix 创建的主题 Python 百度 OCR API Python
@zix 所有 ann model 都会撸一遍,我主要想减少依赖项目所以没有用 numpy,不过日后考虑性能可能会用 numpy
2015-09-06 12:24:56 +08:00
回复了 zix 创建的主题 Python 百度 OCR API Python
等我把 pyann ( https://github.com/racaljk/pyann )撸好了也来试试 ocr
2015-09-01 00:54:46 +08:00
回复了 adrianzhang 创建的主题 Python 怎么样从一个含有 xml 标签的字符串中截取内容
用正则轻松解决
2015-08-24 21:27:40 +08:00
回复了 racal 创建的主题 Python python get 中一个奇怪的的 bug
@xingzhi 单步调试时已经打印出 irl 并确定两个不同了 但怪就怪在即使如此 get 后还是返回了一样的页面
2015-08-24 12:29:12 +08:00
回复了 unique 创建的主题 程序员 上海电信表示 github 上不去
2015-08-24 12:27:53 +08:00
回复了 kisshere 创建的主题 程序员 v2ex 最初是怎么推广的?咋会聚集这么多程序员?
crome 吧看见的
2015-08-23 22:26:04 +08:00
回复了 racal 创建的主题 Python python get 中一个奇怪的的 bug
@Damnever 原代码当然不是这样 这只是单步调试的最简化模型 ,但即使如此返回的结果也是相同
2015-08-23 12:48:32 +08:00
回复了 racal 创建的主题 Python python get 中一个奇怪的的 bug
@kslr
@Septembers

代码如下
./tbfinder.py
parse.multiProcess ('侠盗小飞机')

./parse/parse.py
def multiProcess (tbname ):
database.getTiebaContent (tbname )
./parse/database.py

def getTiebaContent (tbname )
url = 'http://tieba.baidu.com/f/search/ures?ie=utf-8&kw=&qw=&rn=10&un=' + urllib.quote (
tbname ) + '&only_thread=&sm=1&sd=&ed=&pn=1'
url2 = 'http://tieba.baidu.com/f/search/ures?ie=utf-8&kw=&qw=&rn=10&un=' + urllib.quote (
tbname ) + '&only_thread=&sm=1&sd=&ed=&pn=2'
respone = requests.get (url )
respone1 = requests.get (url2 )
# title = re.findall (r'class="bluelink" target="_blank" >(.*?)</a>',respone.text )
print respone.text
print respone1.text
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3101 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 12:43 · PVG 20:43 · LAX 05:43 · JFK 08:43
Developed with CodeLauncher
♥ Do have faith in what you're doing.