Skip to main content

Google搜索工具

Project description

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]

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

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

nanh_easy_google_search-1.0.0.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file nanh_easy_google_search-1.0.0.tar.gz.

File metadata

  • Download URL: nanh_easy_google_search-1.0.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.11

File hashes

Hashes for nanh_easy_google_search-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ccba5cc5e8a143ec3a6d41f9b4381477d53bd8768a99a159b0c6b787de87eaa2
MD5 82967192500522ecca129ea3e7758e04
BLAKE2b-256 eb40a3e922baa410ccf02c1f381add06eeaf527428e352293dbe71aa84fe3115

See more details on using hashes here.

Supported by

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