Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EuclidSearchPackage-0.3.1.tar.gz (9.3 kB view hashes)

Uploaded Source

Built Distribution

EuclidSearchPackage-0.3.1-py3-none-any.whl (13.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page