Skip to main content

A Small tool to Extract and Download m3u8 videos

Project description

Amazon Video Downloader (m3u8)

A simple Python tool to download videos from Amazon Live or other pages serving HLS streams (.m3u8).
It supports both CLI and GUI modes, allowing you to extract the correct video stream and save it locally.


Features

  • Automatically fetches .m3u8 links from a page video url.
  • Option to select which video to download if multiple streams exist.
  • Downloads video using FFmpeg, supporting all resolutions.
  • Simple GUI using Tkinter with folder selection and status updates.
  • CLI mode for quick downloads.

Take video url from Amazon Live product pages and download the video stream directly to your computer. url guide image

Requirements

  • Python 3.10+
  • Playwright
  • FFmpeg installed and added to your system PATH.

Install Python dependencies:

pip install playwright
python -m playwright install

Usage

CLI:

python main.py --url "PAGE_URL" --output "VIDEO_PATH.mp4"

Note: The first video in the HLS playlist is probably the one you are looking for.

GUI:

python main.py --gui

steps:

  1. Enter the page URL.
  2. Choose a folder and filename.
  3. Click Download and wait for completion.
  4. Open folder button becomes active once the video is saved.

Note: The GUI will automatically select the first video in the HLS playlist.

In Code:

from core.extract_links import get_m3u8_links
from core.download_video import download_video

github repo:

https://github.com/LiranBratt2121/amazon-product-video-fetcher

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

amazon_product_video_fetcher-0.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

amazon_product_video_fetcher-0.0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file amazon_product_video_fetcher-0.0.2.tar.gz.

File metadata

File hashes

Hashes for amazon_product_video_fetcher-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c473fc9e2ae7dea5a0a2283bdd25d2cb3bb51aa8e3263b17ca64c24318941d5b
MD5 314ed66002ee94fcfb735bea91dcc54c
BLAKE2b-256 817543ce974883936bcd4929ac029c7593aa1a153858084c9b430a5438a20301

See more details on using hashes here.

File details

Details for the file amazon_product_video_fetcher-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for amazon_product_video_fetcher-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9812df2209611f3d3e8ae7477ec941c49bbdafb221a7e34600641d22acfaa11e
MD5 2c391c59e65583593d3593cb0d0e69aa
BLAKE2b-256 6df3dc199867f8ade935a982be855c702d9bd237976cb200d4f0dfd5f4262125

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page