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
.m3u8links 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.

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:
- Enter the page URL.
- Choose a folder and filename.
- Click Download and wait for completion.
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amazon_product_video_fetcher-0.0.2.tar.gz.
File metadata
- Download URL: amazon_product_video_fetcher-0.0.2.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c473fc9e2ae7dea5a0a2283bdd25d2cb3bb51aa8e3263b17ca64c24318941d5b
|
|
| MD5 |
314ed66002ee94fcfb735bea91dcc54c
|
|
| BLAKE2b-256 |
817543ce974883936bcd4929ac029c7593aa1a153858084c9b430a5438a20301
|
File details
Details for the file amazon_product_video_fetcher-0.0.2-py3-none-any.whl.
File metadata
- Download URL: amazon_product_video_fetcher-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9812df2209611f3d3e8ae7477ec941c49bbdafb221a7e34600641d22acfaa11e
|
|
| MD5 |
2c391c59e65583593d3593cb0d0e69aa
|
|
| BLAKE2b-256 |
6df3dc199867f8ade935a982be855c702d9bd237976cb200d4f0dfd5f4262125
|