This Python script scrapes a webpage for video URLs using BeautifulSoup. It extracts URLs from <iframe> and <video> tags using regular expressions and prints them to the console. The script includes a user agent header to avoid 403 errors and supports video formats like MP4, WebM, OGG, and OGV.
python
video
mp4
regex
webm
requests
web-scraping
iframe
ogg
beautifulsoup
ogv
re
video-scraper
link-scraper
mozilla-user-agent
linkscraper
videoscraper
video-url-scraper
-
Updated
Mar 21, 2023 - Python