Download the PHP package flatbits/youstraw without Composer
On this page you can find all versions of the php package flatbits/youstraw. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download flatbits/youstraw
More information about flatbits/youstraw
Files in flatbits/youstraw
Package youstraw
Short Description PHP Youtube Audio and Video Extractor
License MIT
Homepage https://github.com/FlatBits/YouStraw
Informations about the package youstraw
YouStraw
Extract a Tube Straw from YouTube
This experiment is not supported anymore and will probably not received any update in the future
Important : Since the data we need is not provided by Google's official API, this library does not require you to provide an API key or any other credentials. However, the the library heavily relies on undocumented APIs and DOM parsing. For these reason, I do not recommend the use of this library in mission critical environment since it can break at any moment from a change in YouTube's code
Installation
Install the latest version via Composer
Include Composer's autoload file, and don't forget to add the use
statements
Optional Requirement
- FFmpeg - Some formats are not directly delivered from YouTube, this library requires FFmpeg for those Converted formats
Usage
Download a single video
Download music from a playlist
Please look in the examples folder or through the source code for further usage.
Formats
Natives
Those format are directly fetched from YouTube
Format | Available qualities |
---|---|
Mp4 | High, Medium |
WebM | Medium |
Flv | Low |
ThreeGP (3gp) | Low |
Converted
Those format are converted from a video, you will need FFmpeg on your system to use these formats.
Audio
Format | Available qualities |
---|---|
Mp3 | High, Medium |
Flac | High, Medium |