Giter Site home page Giter Site logo

siddhu123m / streaming-url-finder Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 1.0 10 KB

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 100.00%
beautifulsoup iframe link-scraper mp4 ogg ogv python re regex requests video video-scraper web-scraping webm linkscraper mozilla-user-agent video-url-scraper videoscraper

streaming-url-finder's Introduction

forthebadge made-with-python

Streaming-URL-FInder

Now you can find Media (Video) URL from any streaming site Not ott, I mean from any pirated, free sources, embended medias. This will be helpful if you're planning to build a site for freely streaming movies, like piracy. It Doesn't have CAptcha solver, so becareful if you're spamming.

This Python script uses BeautifulSoup to extract video URLs from a given webpage. It looks for iframe and video tags, extracts the video URLs using regular expressions, and prints them to the console. The script includes a user agent header to avoid 403 errors, and supports video formats such as MP4, WebM, OGG, and OGV. It is a useful tool for automating the process of finding video URLs on a webpage.

๐Ÿ”— Features

  • The code is used for web scraping to extract video URLs from a given webpage.
  • The user is prompted to enter the URL of the webpage to be scraped.
  • The requests library is used to make a request to the specified URL with user agent headers to avoid 403 errors.
  • BeautifulSoup is used to parse the HTML of the webpage.
  • The script looks for all the iframe and video tags on the page using the find_all() method of BeautifulSoup.
  • Regular expressions are used to extract the video URLs from the tags using the re module.
  • The script then prints the extracted video URLs using a for loop.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.