scrapetube


Namescrapetube JSON
Version 2.5.1 PyPI version JSON
download
home_pagehttps://github.com/dermasmid/scrapetube
SummaryScrape youtube without the official youtube api and without selenium.
upload_time2023-09-03 21:52:49
maintainer
docs_urlNone
authorCheskel Twersky
requires_python>=3.6
licenseMIT
keywords youtube python channel videos search playlist list get
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Scrapetube
This module will help you scrape youtube without the official youtube api and without selenium.

With this module you can:


* Get all videos from a Youtube channel.
* Get all videos from a playlist.
* Search youtube.

# Installation

```bash
pip3 install scrapetube
```

# Usage
Here's a few short code examples.

## Get all videos for a channel
```python
import scrapetube

videos = scrapetube.get_channel("UCCezIgC97PvUuR4_gbFUs5g")

for video in videos:
    print(video['videoId'])
```

## Get all videos for a playlist
```python
import scrapetube

videos = scrapetube.get_playlist("PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU")

for video in videos:
    print(video['videoId'])
```

## Make a search
```python
import scrapetube

videos = scrapetube.get_search("python")

for video in videos:
    print(video['videoId'])
```

# Full Documentation

[https://scrapetube.readthedocs.io/en/latest/](https://scrapetube.readthedocs.io/en/latest/)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dermasmid/scrapetube",
    "name": "scrapetube",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "youtube python channel videos search playlist list get",
    "author": "Cheskel Twersky",
    "author_email": "twerskycheskel@gmail.com",
    "download_url": "",
    "platform": null,
    "description": "# Scrapetube\nThis module will help you scrape youtube without the official youtube api and without selenium.\n\nWith this module you can:\n\n\n* Get all videos from a Youtube channel.\n* Get all videos from a playlist.\n* Search youtube.\n\n# Installation\n\n```bash\npip3 install scrapetube\n```\n\n# Usage\nHere's a few short code examples.\n\n## Get all videos for a channel\n```python\nimport scrapetube\n\nvideos = scrapetube.get_channel(\"UCCezIgC97PvUuR4_gbFUs5g\")\n\nfor video in videos:\n    print(video['videoId'])\n```\n\n## Get all videos for a playlist\n```python\nimport scrapetube\n\nvideos = scrapetube.get_playlist(\"PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU\")\n\nfor video in videos:\n    print(video['videoId'])\n```\n\n## Make a search\n```python\nimport scrapetube\n\nvideos = scrapetube.get_search(\"python\")\n\nfor video in videos:\n    print(video['videoId'])\n```\n\n# Full Documentation\n\n[https://scrapetube.readthedocs.io/en/latest/](https://scrapetube.readthedocs.io/en/latest/)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Scrape youtube without the official youtube api and without selenium.",
    "version": "2.5.1",
    "project_urls": {
        "Documentation": "https://scrapetube.readthedocs.io/en/latest/",
        "Homepage": "https://github.com/dermasmid/scrapetube"
    },
    "split_keywords": [
        "youtube",
        "python",
        "channel",
        "videos",
        "search",
        "playlist",
        "list",
        "get"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "27ff74e10d07bdcebbf3cb73a3d4666039bcd6dda52a5e62b7fbcb06ea62f878",
                "md5": "c787896e434d5dc492a2ece9744fd756",
                "sha256": "4ede6e701001f280f3b23ba20f109556b24502b756b9732436571783b03ed91d"
            },
            "downloads": -1,
            "filename": "scrapetube-2.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c787896e434d5dc492a2ece9744fd756",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5592,
            "upload_time": "2023-09-03T21:52:49",
            "upload_time_iso_8601": "2023-09-03T21:52:49.227905Z",
            "url": "https://files.pythonhosted.org/packages/27/ff/74e10d07bdcebbf3cb73a3d4666039bcd6dda52a5e62b7fbcb06ea62f878/scrapetube-2.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-03 21:52:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dermasmid",
    "github_project": "scrapetube",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "tox": true,
    "lcname": "scrapetube"
}
        
Elapsed time: 0.12847s