Skip to main content

Title

Youtube Scraper

Descrption

  • With Youtube Scraper you can scrape search results and extract the contents produced by the search result.
  • In youtube scraper if we provide URL for searching MsExcel in google search then it will give us the json data which contains the video title ,video link ,youtbe channel ,video length ,etc.
  • Below you can see the sample JSON data which have been created through scraping using this scraper.

JSON sample data

{
    "Scraper_People_also_watched": [
        {
            "auto": "Technology for Teachers and Students",
            "simple_endpoint_block_style_scope_thumbnail_link": "/watch?v=rwbho0CgEAE",
            "simple_endpoint_style_scope_video": "The Beginner's Guide to Excel - Excel Basics Tutorial",
            "snippet_container_one_line_style_scope_video": [
                {
                    "link": "/watch?v=rwbho0CgEAE",
                    "text": "\n\n\n\n\n\n\nThe Beginner's Guide to Excel - Excel Basics Tutorial\n\n\n\n\n\n\n\n\n\n\n\n\n\nTechnology for Teachers and Students\n\n\n  \n    Technology for Teachers and Students\n  \n\n\n\n\n\n\n\u2022\n\n\n13M views\n4 years ago\n\n\n\n\n\n\n\n"
                },
                {
                    "link": "/user/robobent",
                    "text": "\n\n\n\n\n\nTechnology for Teachers and Students\n\n\n  \n    Technology for Teachers and Students\n  \n\n\n\n\n\n\n"
                },
                {
                    "text": "\n\n\nIf you like this video, here's my entire playlist of Excel tutorials: http://bit.ly/tech4excel Learn the basics of using Microsoft Excel,\u00a0...\n\nIf you like this video, here's my entire playlist of Excel tutorials: http://bit.ly/tech4excel Learn the basics of using Microsoft Excel,\u00a0...\n\n  From the video description\n\n\n"
                },
                {
                    "text": ""
                },
                {
                    "text": ""
                }
            ],
            "style_scope_thumbnail": "21:47",
            "style_scope_video": "CC",
            "style_scope_video_block": [
                {
                    "text": "13M views"
                },
                {
                    "text": "4 years ago"
                }
            ]
        }

Download full sample data

Run Scraper

from youtube_search_result_scraper import *
link="https://www.youtube.com/results?search_query=ms+excel"
data=run_youtube_search_result_scraper(link)

How it works?

  • It takes URL of youtube page with a search keyword to scrape the data.
  • It generates the json data which contains the information of the youtube search result.
  • It gives the title, link , a small description of video ,video length etc in the form of json data.

Examples

Below are some of the examples of URLs using which you can scrape:

Queries/ Feedback

If you have some queries or feedback please contact us at following
Telegram
Email

Metadata

Release files for youtube-search-result-scraper 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for youtube-search-result-scraper 1.0.5
File Size Uploaded Provenance Actions
youtube_search_result_scraper-1.0.5.tar.gz 3.2 kB Without provenance Details for youtube_search_result_scraper-1.0.5.tar.gz

Release files / youtube_search_result_scraper-1.0.5.tar.gz

Download URL youtube_search_result_scraper-1.0.5.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
38331e655d4ee8475da5738d0f0e68fca488153472fef0ab6ff33800bb3351e7
BLAKE2b-256 checksum
How to use checksums
b963279e1d7da0ab3ea14f9d485d54017889dc9690700d19018f29ebd41f4482
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

Security for youtube-search-result-scraper 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page