-
https://telegra.ph/%E6%89%93%E5%B7%A5%E4%BA%BA%E9%80%9F%E9%80%9F%E9%9B%86%E7%BB%93%E4%B8%80%E8%B5%B7%E6%8A%95%E5%87%BA2020%E5%B9%B4%E5%BA%A6%E5%8D%81%E5%A4%A7%E9%BB%91%E5%BF%83%E4%BC%81%E4%B8%9A-12-22
-
- 问:请说明需要什么新功能。
答:使用cookie版爬weibo.cn时只能获得bid格式的微博id。bid其实是mid的62进制表达,可以直接转换生成mid。
- 问:改进建议。
答:可以通过以下函数进行转换:
```python
def bid2mid(bid):
"""convert string bid to string mid"""
alphab…
-
请教一下,之前和你探讨过在user爬虫里加上爬取用户教育和工作经历的功能,但是实际操作起来遇到一些障碍,想和你探讨一下:
本来觉得和其他items都在 'body/div[@class="c"]//text()'里,直接根据'·'来找就好了,结果后面发现如果用户输入了多个工作或学习经历的话会变成这样:
所以我最先想出的解决办法是学习经历用regex搜 '(.*?)(学院|学校|大学…
-
请问可根据微博中每篇博文的链接来爬取微博博文吗,并非是根据用户id和关键字来爬取微博博文
-
- 问:请您指明哪个版本出了bug(github版/PyPi版/全部)?
答:github版
- 问:您使用的是否是最新的程序(是/否)?
答:是
- 问:爬取任意用户都会复现此bug吗(是/否)?
答:是
- 问:如果方便,请您描述bug详情,如果代码报错,最好附上错误提示。
答:无论在config里设置end_date是什么日期,都会从最新发布的那条开始爬取。
-
为了更好的解决问题,请认真回答下面的问题。等到问题解决,请及时关闭本issue。
- 问:请您指明哪个版本运行出错(github版/PyPi版/全部)?
答:py 3.8.3
- 问:您使用的是否是最新的程序(是/否)?
答:是
- 问:爬取任意用户都会运行出错吗(是/否)?
答:是
- 问:若只有爬特定微博时才出错,能否提供出错微博的weibo_id或url(非必填…
-
- 问:请说明需要什么新功能。
答:
- 问:请说明添加该功能的意义。(非必填)
答:
-
由于程序放在同步盘里面,爬取图片、视频后实在太大(网盘免费流量不够,也没必要),所以希望修改默认保存位置
认真学习了半天代码,发现有个:
if FLAGS.output_dir is not None:
file_dir = FLAGS.output_dir
这是直接把FLAGS.output_dir改了就可以调整图片、视频的默认保存位置么?(还是这个其实…
-
为了更好的解决问题,请认真回答下面的问题。等到问题解决,请及时关闭本issue。
- 问:请您指明哪个版本运行出错(github版/PyPi版/全部)?
答:3.8
- 问:您使用的是否是最新的程序(是/否)?
答:是
- 问:爬取任意用户都会运行出错吗(是/否)?
答:是
- 问:若只有爬特定微博时才出错,能否提供出错微博的weibo_id或url(非必填)?
答…
-
示例网址:https://blog.qingxu.live/about/
MiniValine 已按照官方文档中 [MiniValine+Waline](https://minivaline.js.org/docs/cn/#/Options?id=mode) 完成配置,已确认相关配置无误。
经测试,Valine 同样无法使用(甚至没有加载相应 JavaScript 文件),而 Disq…