a package for search data from weibo, zhihu, guba and etc.
Project description
# EuclidSearchPackage
this package is include some tools to get data from weibo、zhihu、guba and etc.
The project will continue to be updated and you are welcome to join us on [GitHub](https://github.com/Euclid-Jie/EuclidSearchPackage).
## Existing features
### 1、 get single weibo’s reposts data, the data will write to MongoDB
`python Get_single_weibo_details('reposts', mblogid='MrOtA75Fd', header=Set_header('cookie.txt')).main_get() ` ### 2、 get single weibo’s data
`python data_json = Get_single_weibo_data(mblogid='MrOtA75Fd') print(data_json) ` ### 3、 get the weibo url list
set the url(contains keyword), then item in list is “1562868034/MkXTBh9Fk”, which is contains uid and mblogid
`python url_list = Get_item_url_list('https://s.weibo.com/weibo?q=杭州公园') print(url_list) ` ### 4、get user’s info
`python data_json = Get_user_info('1202150843') print(data_json) ` ### 5、get user’s all blog
`python Get_user_all_weibo(7416119836, 100, begin=50) `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for EuclidSearchPackage-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb8f2429a03d6d4ac3baad7e05b606bbc2926a35c90cb049c40f5f45a52447f5 |
|
MD5 | 8ed593d0a9be9dadb3e66f452fe42b15 |
|
BLAKE2b-256 | f3c38332f7040d3b830fe3d6d41cee10763958fc2aec78ce53e8db9fb3723da3 |