youtube search result scraper
Project description
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"
}
]
}
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file youtube_search_result_scraper-1.0.5.tar.gz
.
File metadata
- Download URL: youtube_search_result_scraper-1.0.5.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38331e655d4ee8475da5738d0f0e68fca488153472fef0ab6ff33800bb3351e7 |
|
MD5 | 8fa5f03fa8b912761332ff2ddcc219e9 |
|
BLAKE2b-256 | b963279e1d7da0ab3ea14f9d485d54017889dc9690700d19018f29ebd41f4482 |