Skip to main content

Google搜索工具

Google官方出的搜索工具无法直接使用代理,就对官方的进行了改动与精简。 根据关键字进行搜索,通过 BeautifulSoup 对内容进行解析,并返回搜索的连接地址 项目依赖:

  • beautifulsoup4
  • Requests
  • urllib3

安装

源码安装

git clone https://github.com/877007021/easy_google_search.git
pip install -r requirements.txt

pip 安装

pip install nanh-easy-google-search==0.0.1

示例

from nanh_easy_google_search.google import search
# or from google import search  
  
proxies = {  
    'http': 'http://127.0.0.1',  
    'https': 'http://127.0.0.1',  
}  
  
search_link_list = search("easy_google_search", proxies=proxies)  
[print(link) for link in search_link_list]

如果此工具有任何问题或错误,请提出问题。

Metadata

Release files for nanh-easy-google-search 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nanh-easy-google-search 1.0.0
File Size Uploaded Provenance
nanh_easy_google_search-1.0.0.tar.gz 7.8 kB Without provenance Details

Release files / nanh_easy_google_search-1.0.0.tar.gz

Download URL nanh_easy_google_search-1.0.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ccba5cc5e8a143ec3a6d41f9b4381477d53bd8768a99a159b0c6b787de87eaa2
BLAKE2b-256 checksum
How to use checksums
eb40a3e922baa410ccf02c1f381add06eeaf527428e352293dbe71aa84fe3115
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.11

Security for nanh-easy-google-search 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page