Comments (2)
Because the output parser expects only json. You can get the duration from the YoutubeDl\Entity\Video
object which is returned after download
from youtube-dl-php.
@norkunas I found another way, which is using the option 'skip-download' => true
. Then I can, as you say, still get the duration, title, ... from the Video object. So no need to define them as seperate options after all.
from youtube-dl-php.
Related Issues (20)
- No such file or directory HOT 3
- usage in mutual server HOT 1
- url HOT 1
- link HOT 1
- Error with yt-dlp HOT 26
- Can't set environment variable for process on Windows OS HOT 3
- Bugfix onProgress event for yt-dlp not triggering some videos before 100%
- INTERNAL ERROR: cannot create temporary directory! HOT 8
- postprocessor-args not impplimented HOT 4
- Bug: YoutubeDl\Entity\Video::getCategories(): Return value must be of type array, null returned
- file_get_contents - No such file or directory, when video title has unsupported characters HOT 20
- Missing developer option(s) HOT 3
- Need `--trim-filenames` option to be added please! HOT 4
- YoutubeDl\Entity\Video::getTags(): Return value must be of type array, null returned HOT 5
- Need `-U`, `--update` option to help with debugging when problems happen HOT 3
- Need to add `uploader_url` HOT 1
- does `--write-comments` need to be set for comments to be available in `getComments()`? HOT 4
- Options `--no-write-comments`, `--no-write-description`, `--no-write-thumbnail`, `--no-write-sub`, `--no-write-auto-sub` HOT 4
- Unable to run basic example with an Access denied error. HOT 2
- Virus report "ITagUtils.php" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube-dl-php.