Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Update package m3u8downloader to use aiohttp to speed up download m3u8 url
Support disguised as img (png/jpg/jpeg) to decode into ts file
aiom3u8downloader base on package m3u8downloader (https://pypi.org/project/m3u8downloader, version: 0.10.1)
ffmpeg is used to convert the downloaded fragments into final mp4 video file.
.. _HTTP Live Streaming (HLS): https://developer.apple.com/streaming/
To install aiom3u8downloader, simply:
.. code-block:: bash
$ sudo apt install -y ffmpeg
$ pip install aiom3u8downloader
Example command line usage:
.. code-block:: bash
aiodownloadm3u8 -o ~/Downloads/foo.mp4 https://example.com/path/to/foo.m3u8
If ~/.local/bin is not in $PATH, you can use full path:
.. code-block:: bash
~/.local/bin/aiodownloadm3u8 -o ~/Downloads/foo.mp4 https://example.com/path/to/foo.m3u8
Here is built-in command line help:
.. code-block:: text
usage: aiom3u8downloader [-h] [--version] [--debug] --output OUTPUT [--tempdir TEMPDIR] [--limit_conn LIMIT_CONN] [--auto_rename] URL
download video at m3u8 url
positional arguments: URL the m3u8 url
optional arguments: -h, --help show this help message and exit --version show program's version number and exit --debug enable debug log --output OUTPUT, -o OUTPUT output video filename, e.g. ~/Downloads/foo.mp4 --tempdir TEMPDIR temp dir, used to store .ts files before combing them into mp4 --limit_conn LIMIT_CONN, -conn LIMIT_CONN limit amount of simultaneously opened connections --auto_rename, -ar auto rename when output file name already exists
This tool only parses minimum m3u8 extensions for selecting media playlist from master playlist, downloading key and fragments from media playlist. If a m3u8 file doesn't download correctly, it's probably some new extension was added to the HLS spec which this tool isn't aware of.
v0.0.1
v1.0.3
remove multiprocessing package
release to pypi
FAQs
Update package m3u8downloader to use aiohttp download m3u8 url
We found that aiom3u8downloader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.