首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
广告
V2EX
›
分享发现
发一个水木社区指定版面带关键字文章实时获取程序
yeasy
·
2014-11-13 13:15:56 +08:00
· 2211 次点击
这是一个创建于 3601 天前的主题,其中的信息可能已经有所发展或是发生改变。
双十一的时候自动抓取和过滤折扣信息写的,不保证任何使用后果。
https://github.com/yeasy/code_snippet/blob/master/python/sm_watcher.py
支持通过参数指定版面名称和关键词,将实时获取带关键词的文章(默认过滤系统发文和置底文章),例如
python sm_watcher.py joke 笑话
默认不加参数,将实时输出折扣(couponslife)信息版面的所有新发文章,例如
10:21:22 19元裤子L码有货 wyxsjc
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476611
10:21:26 伤心,一会没注意 shuwa
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476612
10:22:39 优衣库毛衫要剁手,掉毛,下水变形。。。。。。 Jasminemm
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476620
10:23:13 南方航空微信号送150M电信流量 wuyangyang
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476625
10:23:35 海澜之家整点免单公布了,抢到2个免单 CHAOSH
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476627
10:26:52 茵曼19元裤子M号有货 skyfreemaple
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476651
10:29:47 茵曼大衣的链接或者货号是多少? Raul4ever
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476668
10:32:12 刚需求猫粮毛 doudou1206
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476687
10:34:46 19元裤子L码有货 doudouzhuan
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476698
10:33:51 诺优能如何? cindyy
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476699
10:34:50 好难过哦,昨天当当图书还有各种折扣,今天一看。。。 Fateover
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476700
10:38:17 友情提示,刚31下的防尘罩,是2大 3中 3小 daysdream
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476712
10:38:39 茵曼这个裤子有人喜欢么,我打算放出来 poisoner
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476713
10:38:39 京东200-100的童书,求推荐 jliu04
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476716
10:40:14 问个技术问题,如果可行求surface的毛 winniew
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476727
10:43:00 双11网上一无所获,去kapa专卖店3.5-5折入了三套运动系列的算什 DelPotro
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476736
10:43:46 优衣库好神奇啊 cleverbaby
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476743
10:45:33 茵曼都下架了吧? STOCKSTOCK
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476756
10:45:46 鲁花 5S 压榨一级 花生油 合19左右一升 wzj1975
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476757
10:45:46 当当的空间大师特便宜 liushui
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476758
10:45:59 这个79元的羽绒服质量咋样 Raul4ever
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476760
10:48:40 谁还有格力的优惠券吗,想买两个空调 guangdang
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476774
10:51:57 求钓鱼凳羊毛 mltz
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476792
10:53:52 亚麻取消订单后,就放货了吗 Raul4ever
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476803
10:54:05 618-300遇到了假货怎么办 tao1801302
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476805
10:55:04 要放一个枣红L dewylily
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476810
10:56:07 79的电压力锅 dlm318
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476814
10:56:16 京东购物评级在双11被改成1朵小花,是不是被京东薅了? weimingxing
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476817
10:57:30 我喜欢那条裤裙,555 immortalhero
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476826
10:57:51 优衣库退货运费谁出啊 singleanimal
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476827
11:00:05 请问中国亚马逊有八折码么? nana999
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476844
11:01:30 放了一个枣红L nettfrau
http://www.newsmth.net/bbstcon.php?board=couponslife&gid=1476855
目前尚无回复
raul4ever
版面
枣红
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
1141 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms ·
UTC 17:58
·
PVG 01:58
·
LAX 10:58
·
JFK 13:58
Developed with
CodeLauncher
♥ Do have faith in what you're doing.