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.
Existing features
1、 get single weibo's reposts data, the data will write to MongoDB
Get_single_weibo_details('reposts', mblogid='MrOtA75Fd', header=Set_header('cookie.txt')).main_get()
2、 get single weibo's data
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
url_list = Get_item_url_list('https://s.weibo.com/weibo?q=杭州公园')
print(url_list)
4、get user's info
data_json = Get_user_info('1202150843')
print(data_json)
5、get user's all blog
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
Close
Hashes for EuclidSearchPackage-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a56450c24261d89b01d83ac73865616248a763b3380c03bd228145abc16101c |
|
MD5 | 335fb47b508db4b2ad33ad71f6163d63 |
|
BLAKE2b-256 | 067e8d9c862f7b745215909fa77d24f0fc7d418fdfbc05429fc7ccecc4bfc8be |
Close
Hashes for EuclidSearchPackage-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 456f53abc9b4e779dc97916db82b4750b5a3eef195ba8d1750a97e45fc952505 |
|
MD5 | ed5d6b70c9f4a75ac942c55225ea9b33 |
|
BLAKE2b-256 | 6ee4d070076fb037cee2a3f5d0ae87b1503b0142224da5a73b48dacfccb45c15 |