Name | parsgod JSON |
Version |
0.0.11
JSON |
| download |
home_page | |
Summary | A module for generating the python parser framework |
upload_time | 2023-05-06 15:13:01 |
maintainer | |
docs_url | None |
author | Alexander554 |
requires_python | |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
The module allows you to automatically determine what to use - requests or selenium, and write the basis of the parser on both modules. Also supports writing the basics of asynchronous parser.
To start using the module, you need to call the - pgmode function. The rest can be found by looking under the hood of this library.
```python
import parsgod
parsgod.pgmode(url='https://sunlight.net', headers={'User-agent': 'Mozilla 5.0'}, mode='asyncio')
#This code will create the asynchronous parser in your directory
parsgod.pgmode(url='https://sunlight.net', headers={'User-agent': 'Mozilla 5.0'})
#This code will create the parser in your directory
parsgod.pgmode(url='https://ozon.ru', pause_time=5)
#The site above is very poorly protected, so if we insert a link to ozone with cloudflare, then a foundation using selenium will be automatically created
#pause_time is responsible for pausing after loading the page
```
Raw data
{
"_id": null,
"home_page": "",
"name": "parsgod",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Alexander554",
"author_email": "gaa.280811@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/6d/d5/fdfc1f73fe7a172868a2a15b276a75c7e915600ea442d7a253e190f7855f/parsgod-0.0.11.tar.gz",
"platform": null,
"description": "The module allows you to automatically determine what to use - requests or selenium, and write the basis of the parser on both modules. Also supports writing the basics of asynchronous parser.\r\n\r\nTo start using the module, you need to call the - pgmode function. The rest can be found by looking under the hood of this library.\r\n\r\n\r\n\r\n```python\r\nimport parsgod\r\n\r\nparsgod.pgmode(url='https://sunlight.net', headers={'User-agent': 'Mozilla 5.0'}, mode='asyncio')\r\n#This code will create the asynchronous parser in your directory\r\n\r\nparsgod.pgmode(url='https://sunlight.net', headers={'User-agent': 'Mozilla 5.0'})\r\n#This code will create the parser in your directory\r\n\r\nparsgod.pgmode(url='https://ozon.ru', pause_time=5)\r\n#The site above is very poorly protected, so if we insert a link to ozone with cloudflare, then a foundation using selenium will be automatically created\r\n#pause_time is responsible for pausing after loading the page\r\n```\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A module for generating the python parser framework",
"version": "0.0.11",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ce385bc6c76db26f6ee9cfe7755a665cd9865c3aacd7df2deed3d7c917a1bd87",
"md5": "6bc50c2a2d693eec6813d79d58f05605",
"sha256": "c0d0751274818d4ecbcf11867b2a6edcff24591a0fa6582aa31197f94f9af455"
},
"downloads": -1,
"filename": "parsgod-0.0.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6bc50c2a2d693eec6813d79d58f05605",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4892,
"upload_time": "2023-05-06T15:12:58",
"upload_time_iso_8601": "2023-05-06T15:12:58.935409Z",
"url": "https://files.pythonhosted.org/packages/ce/38/5bc6c76db26f6ee9cfe7755a665cd9865c3aacd7df2deed3d7c917a1bd87/parsgod-0.0.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6dd5fdfc1f73fe7a172868a2a15b276a75c7e915600ea442d7a253e190f7855f",
"md5": "18b2f21de6032281dc913c89ae457a99",
"sha256": "7141a1784e5c70bfa1aff7b1662e61994a4fa8502b4ffa7672dfb32dacbad653"
},
"downloads": -1,
"filename": "parsgod-0.0.11.tar.gz",
"has_sig": false,
"md5_digest": "18b2f21de6032281dc913c89ae457a99",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4523,
"upload_time": "2023-05-06T15:13:01",
"upload_time_iso_8601": "2023-05-06T15:13:01.983721Z",
"url": "https://files.pythonhosted.org/packages/6d/d5/fdfc1f73fe7a172868a2a15b276a75c7e915600ea442d7a253e190f7855f/parsgod-0.0.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-06 15:13:01",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "parsgod"
}