Metadata-Version: 2.4
Name: googlesearch-fastandcon
Version: 0.0.1
Summary: A package that list customize engine from google 
Author: bigblackhat
Author-email: bigblackhat <535597762@qq.com>
License-Expression: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Project-URL: Github, https://github.com/pypa/sampleproject
Description-Content-Type: text/markdown

# googlesearch
可以轻松方便的获取google浏览器的搜索内容，也就是浏览器的item部分的信息  
  
需要准本的信息如下  
- google自定义搜索引擎的api
- 搜索引擎id

## 首先
我们可以初始化一个数据库,在终端输入
```python
db-init
```
你可以得到一个名为googlesearch_result.db的sqlit数据库

## 然后

在googlesearch中的 ```ConstructingSearchContext``` 中填入
```python
identify = {
    'api_key': 'AIzaSyAxty0nDfYWFIsmNVD2jIPMm5Y(example)',
    'cx': '06e7e5d88796(example)',
}

csc = ConstructingSearchContext(
    context='大赛 after:2025/1/1 -要素 -中国',
    num='10',
    start='1',
    identify=identify
)
```

## 最后
```BatchSQLInsert``` 是一个可迭代对象,通过csc中的值，获取我们需要的list结构的信息
