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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5df3f9a70bd72d93ac1f4b7f5d24699788b329c23a7d1eb8a2c249a1556967dc
|
|
| MD5 |
bf42354a50dd55fb67277be3638deedc
|
|
| BLAKE2b-256 |
ebcac73282a75d63a3a398a024c22e84e528ca55bbf049c2eb6107b35c07fa8e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
190e384d314bef7edca42e8f34c10f8035b1328800bdfa9eadba3ec6301cafdd
|
|
| MD5 |
051b6ae499369929dab4761725c6efb7
|
|
| BLAKE2b-256 |
c240870c61862a1292a22063877fbdb77297cd999658ca354a9366f36e679967
|