Skip to content

Hbradroc/Linkparser

Repository files navigation

Video Downloader CLI

A command-line tool to download videos from watchmmafull.com and other video sites using yt-dlp.

Installation

  1. Install Python 3.7 or higher
  2. Install dependencies:
pip install -r requirements.txt

Or install directly:

pip install yt-dlp requests

Usage

Basic Usage

Download a video from a URL:

python downloader.py <url>

Example:

python downloader.py https://yourlinkhere.com

Options

  • -o, --output DIR: Specify output directory (default: ./downloads)
  • -q, --quality FORMAT: Specify video quality/format (default: best)
    • Use best for best quality
    • Use bestvideo+bestaudio for best video and audio separately merged
    • Use worst for smallest file size
  • -l, --list-formats: List available formats without downloading

Examples

Download to a specific directory:

python downloader.py -o ./videos <url>

Download with best quality (video + audio):

python downloader.py -q "bestvideo+bestaudio" <url>

List available formats:

python downloader.py --list-formats <url>

Notes

  • Videos are saved with their original title as the filename
  • The tool automatically creates the output directory if it doesn't exist
  • yt-dlp supports many video sites, not just watchmmafull.com

Troubleshooting

If downloads fail:

  1. Make sure you have a stable internet connection
  2. Try listing formats first to see what's available: python downloader.py --list-formats <url>
  3. Some sites may require cookies or authentication - yt-dlp handles this automatically when possible
  4. Check that the URL is accessible and contains a video

JavaScript-Heavy Sites

Some video sites (including watchmmafull.com) use JavaScript to dynamically load video URLs. If the script can't find the video:

  1. Use Browser Developer Tools:

    • Open the video page in your browser
    • Open Developer Tools (F12 or Cmd+Option+I)
    • Go to the Network tab
    • Filter by "Media" or "XHR"
    • Play the video and look for .mp4, .m3u8, or other video file requests
    • Copy the video URL and use it directly with the downloader:
      python downloader.py <direct_video_url>
  2. Try the extracted URLs manually:

    • The script will show you extracted URLs it found
    • Try opening these URLs in your browser to see if they lead to the video
    • Some may require additional steps or cookies

Embed pages with no .mp4 / .m3u8 in the page

For links like in the HTML. It’s requested by JavaScript only after you press Play in the browser. To get that URL:

  1. Open the embed page in Chrome, then DevTools → Network → Media (or filter by m3u8 / mp4).
  2. Click Play and watch for new requests. The Request URL of the media request is what you need.
  3. Use: python3 downloader.py "PASTE_THAT_URL"

See FIND_VIDEO_URL.md for a detailed step-by-step guide.

Requirements

  • Python 3.7+
  • yt-dlp
  • requests

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages