Google-Paa-Scraper


NameGoogle-Paa-Scraper JSON
Version 0.0.11 PyPI version JSON
download
home_pagehttps://github.com/huzai786/Google-Paa-Scraper
SummaryGet data from googles people also ask section.
upload_time2023-03-20 18:24:31
maintainer
docs_urlNone
authorMuhammad Huzaifa
requires_python
licenseMIT
keywords google-paa people-also-ask google-paa
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1>Google-Paa-Scraper</h1>

### _Get data from googles people also ask section._

***

Google Paa Scraper provides a single function that enables you to scrape google people also ask questions and answers in bulk, ranging from 23-30 to max, under google runs out. but getting more answers require more time.

Auto download for chromedriver thanks to [webdriver-manager](https://pypi.org/project/webdriver-manager/).

## Example Usage:

```python
>>> from gpaa_scraper import scrape_paa
>>> answers = scrape_paa("csgo")
>>> print(type(answers))
class 'list'>
>>> print(answers[0])
Answer(question='Is CSGO free?', answer_heading=None, answer='The free download of CS:GO includes the full game. Free CS:GO players receive access to all game modes and matchmaking types with the exception of Ranked Matchmaking, which requires Prime Status to participate in.', answer_type=<AnswerType.Paragraph: 'paragraph'>, truncated_info_link=None)
```

### Return Values:
 Returns a list of Answer objects which can be imported from 
```python
from gpaa_scraper.container import Answer, AnswerType
```


| answer_type              | return type  | return value                 |
|--------------------------|--------------|------------------------------|
| *<AnswerType.List>*      | list         | ordered or unordered values  |
| *<AnswerType.Table>*     | list of list | first item is the header     |
| *<AnswerType.Youtube>*   | str          | youtube link                 |
| *<AnswerType.Paragraph>* | str          | string of answer             |


## Installation:
OS X & Linux:
```shell
pip3 install Google-Paa-Scraper
```

Windows:

```shell
pip install Google-Paa-Scraper
```


### PyPI: [https://pypi.org/project/Google-Paa-Scraper/](https://pypi.org/project/Google-Paa-Scraper/)
### Github: [https://github.com/huzai786/Google-Paa-Scraper](https://github.com/huzai786/Google-Paa-Scraper)



## Dependencies:
 * [BeautifulSoup4](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)
 * [Selenium](https://www.selenium.dev/documentation/)
 * [webdriver-manager](https://pypi.org/project/webdriver-manager/)
 * [lxml](https://lxml.de/)


## Release History
* 0.1.0
    * The first proper release

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/huzai786/Google-Paa-Scraper",
    "name": "Google-Paa-Scraper",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "google-paa,People-Also-Ask,Google-PAA",
    "author": "Muhammad Huzaifa",
    "author_email": "muhammadhuzaifagamer123@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/18/73/6620357690df2434204af02099037dfb283ac011527b999c9bfd79fa2d36/Google-Paa-Scraper-0.0.11.tar.gz",
    "platform": null,
    "description": "<h1>Google-Paa-Scraper</h1>\r\n\r\n### _Get data from googles people also ask section._\r\n\r\n***\r\n\r\nGoogle Paa Scraper provides a single function that enables you to scrape google people also ask questions and answers in bulk, ranging from 23-30 to max, under google runs out. but getting more answers require more time.\r\n\r\nAuto download for chromedriver thanks to [webdriver-manager](https://pypi.org/project/webdriver-manager/).\r\n\r\n## Example Usage:\r\n\r\n```python\r\n>>> from gpaa_scraper import scrape_paa\r\n>>> answers = scrape_paa(\"csgo\")\r\n>>> print(type(answers))\r\nclass 'list'>\r\n>>> print(answers[0])\r\nAnswer(question='Is CSGO free?', answer_heading=None, answer='The free download of CS:GO includes the full game. Free CS:GO players receive access to all game modes and matchmaking types with the exception of Ranked Matchmaking, which requires Prime Status to participate in.', answer_type=<AnswerType.Paragraph: 'paragraph'>, truncated_info_link=None)\r\n```\r\n\r\n### Return Values:\r\n Returns a list of Answer objects which can be imported from \r\n```python\r\nfrom gpaa_scraper.container import Answer, AnswerType\r\n```\r\n\r\n\r\n| answer_type              | return type  | return value                 |\r\n|--------------------------|--------------|------------------------------|\r\n| *<AnswerType.List>*      | list         | ordered or unordered values  |\r\n| *<AnswerType.Table>*     | list of list | first item is the header     |\r\n| *<AnswerType.Youtube>*   | str          | youtube link                 |\r\n| *<AnswerType.Paragraph>* | str          | string of answer             |\r\n\r\n\r\n## Installation:\r\nOS X & Linux:\r\n```shell\r\npip3 install Google-Paa-Scraper\r\n```\r\n\r\nWindows:\r\n\r\n```shell\r\npip install Google-Paa-Scraper\r\n```\r\n\r\n\r\n### PyPI: [https://pypi.org/project/Google-Paa-Scraper/](https://pypi.org/project/Google-Paa-Scraper/)\r\n### Github: [https://github.com/huzai786/Google-Paa-Scraper](https://github.com/huzai786/Google-Paa-Scraper)\r\n\r\n\r\n\r\n## Dependencies:\r\n * [BeautifulSoup4](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)\r\n * [Selenium](https://www.selenium.dev/documentation/)\r\n * [webdriver-manager](https://pypi.org/project/webdriver-manager/)\r\n * [lxml](https://lxml.de/)\r\n\r\n\r\n## Release History\r\n* 0.1.0\r\n    * The first proper release\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Get data from googles people also ask section.",
    "version": "0.0.11",
    "split_keywords": [
        "google-paa",
        "people-also-ask",
        "google-paa"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c714dff74e6098d500addb677ccd09f4b82b0643da6b3bfd2106e2bc4ad01bcd",
                "md5": "c0cca07b148fa0b0a7f2bdb49f5b6e5f",
                "sha256": "ebc7380be8919adb6ef4ab4fd7a85c08c38f3e7f04127fcafbb1570fcca714b7"
            },
            "downloads": -1,
            "filename": "Google_Paa_Scraper-0.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c0cca07b148fa0b0a7f2bdb49f5b6e5f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8090,
            "upload_time": "2023-03-20T18:24:29",
            "upload_time_iso_8601": "2023-03-20T18:24:29.018602Z",
            "url": "https://files.pythonhosted.org/packages/c7/14/dff74e6098d500addb677ccd09f4b82b0643da6b3bfd2106e2bc4ad01bcd/Google_Paa_Scraper-0.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "18736620357690df2434204af02099037dfb283ac011527b999c9bfd79fa2d36",
                "md5": "3b862b2a5df254b52d815c260c7867ce",
                "sha256": "aa6400e371e4b6a41ea75391759fe2563f3c7f1d20b5c02541d26b3403432d7f"
            },
            "downloads": -1,
            "filename": "Google-Paa-Scraper-0.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "3b862b2a5df254b52d815c260c7867ce",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6808,
            "upload_time": "2023-03-20T18:24:31",
            "upload_time_iso_8601": "2023-03-20T18:24:31.863265Z",
            "url": "https://files.pythonhosted.org/packages/18/73/6620357690df2434204af02099037dfb283ac011527b999c9bfd79fa2d36/Google-Paa-Scraper-0.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-20 18:24:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "huzai786",
    "github_project": "Google-Paa-Scraper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "google-paa-scraper"
}
        
Elapsed time: 0.05028s