Comments (8)
额,暂时还没有实现这个功能,不过微博倒是提供了这个接口的
from weibospider.
额,暂时还没有实现这个功能,不过微博倒是提供了这个接口的
@CharesFang
请问 m.weibo.cn 有这样的接口吗?
from weibospider.
额,暂时还没有实现这个功能,不过微博倒是提供了这个接口的
@CharesFang
请问 m.weibo.cn 有这样的接口吗?
有的,之前在m站点爬去,你可以在手机上寻找一下这个功能然后分析API
from weibospider.
安卓手机端好像没有找到限制时间段的功能,大佬能不能截图看一下...
https://github.com/CharesFang/WeiboSpider/blob/v1.0/WeiboSpider/spiders/KeyWordsSpider.py
还有就是请问1.0版本这里是用display_time
限制时间吗?但是设置为3.27 00:00
(即display_time=
) 所返回的结果 第一页开始时间 不为3.27 00:00
,最后一页结束时间 也不为3.27 00:00
,而是从time.now()
到3.26
的结果都有
请问使用display_time
限制时间段吗?如果是的话限制的到底是开始时间还是结束时间?不是的话有其他参数控制吗?
对了新的app中使用的是新的接口,display_time
似乎变成了ul_ctime
但修改后还是同样的结果
from weibospider.
from weibospider.
安卓手机端好像没有找到限制时间段的功能,大佬能不能截图看一下...
https://github.com/CharesFang/WeiboSpider/blob/v1.0/WeiboSpider/spiders/KeyWordsSpider.py 还有就是请问1.0版本这里是用
display_time
限制时间吗?但是设置为3.27 00:00
(即display_time=
) 所返回的结果 第一页开始时间 不为3.27 00:00
,最后一页结束时间 也不为3.27 00:00
,而是从time.now()
到3.26
的结果都有请问使用
display_time
限制时间段吗?如果是的话限制的到底是开始时间还是结束时间?不是的话有其他参数控制吗?对了新的app中使用的是新的接口,
display_time
似乎变成了ul_ctime
但修改后还是同样的结果
- v1.0的代码我已经记不得啥样的了,当时也不太会写代码写得有点乱,直接看master branch上就好。
- https://github.com/CharesFang/WeiboSpider/blob/v1.0/WeiboSpider/spiders/KeyWordsSpider.py#L24-L31 这一块儿是根据关键字获取对应文本的接口,
display_time
这几个参数我没有做分析。 - 刚刚参考了一下WeiboSpider的issue,微博高级搜索功能已经关闭,看起来无法根据时间爬数据了。See issue here
from weibospider.
目前来看应该是没有办法在weibo.cn
,m.weibo.cn
高级搜索了
现在只有weibo.com
有这个功能了,还必须登录才能看到第一页之外的数据。。。。
from weibospider.
或者可以搜索一下其他project里有无相关API,微博可能只是屏蔽了调用接口,如果能找到API说不定OK。
from weibospider.
Related Issues (20)
- CVE-2022-39348 (Medium) detected in Twisted-22.4.0-py3-none-any.whl
- WS-2022-0365 (Critical) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2022-23491 (High) detected in certifi-2022.6.15-py3-none-any.whl
- CVE-2023-23931 (Medium) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2023-0286 (High) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2023-38325 (High) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2023-49083 (High) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2023-46137 (Medium) detected in Twisted-22.4.0-py3-none-any.whl
- CVE-2023-43804 (High) detected in urllib3-1.26.12-py2.py3-none-any.whl
- CVE-2023-45803 (Medium) detected in urllib3-1.26.12-py2.py3-none-any.whl
- CVE-2023-37920 (Critical) detected in certifi-2022.6.15-py3-none-any.whl
- CVE-2023-32681 (Medium) detected in requests-2.26.0-py2.py3-none-any.whl
- CVE-2024-26130 (High) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2023-4807 (High) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2023-50782 (High) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2023-2650 (Medium) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2023-3446 (Medium) detected in cryptography-38.0.1-cp36-abi3-manylinux_2_24_x86_64.whl
- CVE-2024-1892 (High) detected in Scrapy-2.6.2-py2.py3-none-any.whl
- CVE-2024-21506 (Medium) detected in pymongo-3.11.4-cp37-cp37m-manylinux2014_x86_64.whl
- CVE-2024-3572 (High) detected in Scrapy-2.6.2-py2.py3-none-any.whl
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from weibospider.