Skip to main content

Search, export and analyse more efficiently

Project description

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.

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

xsearch-1.0.6.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xsearch-1.0.6-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file xsearch-1.0.6.tar.gz.

File metadata

  • Download URL: xsearch-1.0.6.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for xsearch-1.0.6.tar.gz
Algorithm Hash digest
SHA256 5df3f9a70bd72d93ac1f4b7f5d24699788b329c23a7d1eb8a2c249a1556967dc
MD5 bf42354a50dd55fb67277be3638deedc
BLAKE2b-256 ebcac73282a75d63a3a398a024c22e84e528ca55bbf049c2eb6107b35c07fa8e

See more details on using hashes here.

File details

Details for the file xsearch-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: xsearch-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for xsearch-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 190e384d314bef7edca42e8f34c10f8035b1328800bdfa9eadba3ec6301cafdd
MD5 051b6ae499369929dab4761725c6efb7
BLAKE2b-256 c240870c61862a1292a22063877fbdb77297cd999658ca354a9366f36e679967

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