Skip to main content

About The Project

Use Python to search, export and analyse the search results of a long list of keywords.

Built With

Selenium A package to automate web browser interaction from Python.

Getting Started

Prerequisites

Python Python 3

Chrome Download Google Chrome, and check the version through 'Help > About Google Chrome'.

ChromeDriver Download a driver to interface with the Chrome browser. Make sure it’s consistent with Chrome version. link1 link2 link3

Installation

If you have pip on your system, you can simply install or upgrade the Python bindings:

pip install search

Alternately, you can download the source code from PyPI (e.g. xsearch-0.0.8.tar.gz), unarchive it, and run:

python setup.py install

Usage

Search Engines Supported

  • google.com or google.com.hk

  • baidu.com

  • bing.com or cn.bing.com

  • sogou.com

  • weixin.sogou.com

Code

import xsearch
xsearch.search()

Example

请输入导入文件名,支持txt/xlsx input.txt

请输入指定站点,如有多个用逗号分隔,如无请直接回车 zhihu.com, 36kr.com

请输入指定文件类型,如有多个用逗号分隔,如无请直接回车

请输入导出文件名,支持csv/json output.csv

请输入需要提取的关键词类型,如有多个用逗号分隔,如无请直接回车 n,a,v

请输入搜索域名 google.com

License

The project is under the MIT license.

Metadata

Release files for xsearch 1.0.6

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

Source distribution (sdist)

Source distribution for xsearch 1.0.6
File Size Uploaded Provenance Actions
xsearch-1.0.6.tar.gz 5.7 kB Without provenance Details for xsearch-1.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xsearch 1.0.6
File Interpreter ABI Platform Actions
xsearch-1.0.6-py3-none-any.whl Python 3 none any Details for xsearch-1.0.6-py3-none-any.whl

Total release size: 23.0 kB

Release files / xsearch-1.0.6.tar.gz

Download URL xsearch-1.0.6.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5df3f9a70bd72d93ac1f4b7f5d24699788b329c23a7d1eb8a2c249a1556967dc
BLAKE2b-256 checksum
How to use checksums
ebcac73282a75d63a3a398a024c22e84e528ca55bbf049c2eb6107b35c07fa8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0

Release files / xsearch-1.0.6-py3-none-any.whl

Download URL xsearch-1.0.6-py3-none-any.whl
Size 17.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
190e384d314bef7edca42e8f34c10f8035b1328800bdfa9eadba3ec6301cafdd
BLAKE2b-256 checksum
How to use checksums
c240870c61862a1292a22063877fbdb77297cd999658ca354a9366f36e679967
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.25.1 setuptools/40.2.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0

Security for xsearch 1.0.6

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.

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