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 amazon_product_video_fetcher.extract_links import get_m3u8_links
from amazon_product_video_fetcher.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.3.tar.gz (3.9 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.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for amazon_product_video_fetcher-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9d595bebc5a797fc75ff2ac0209e6094c89ba6c8ce6495afef368e354d9db4fa
MD5 a3611042506d476071dd4a7956a2c1ed
BLAKE2b-256 8b5db3e310b3d10314614c13b6b00be8f06875040a778eafb352919e8d556b80

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amazon_product_video_fetcher-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 abc904a2fa01a6b12e4f62320e1e7cc67dc804aed9e39d4b5866a5c1e6859317
MD5 44df845ae2b312b63bbfacb1c88a1266
BLAKE2b-256 1e304bbcfb82027226e72f626167323e7e6639de1312eff9f4373b841b7f79c3

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