Stop hard-coding the video file extension.
This commit is contained in:
parent
d735259a6d
commit
f15d1e77e9
@ -29,7 +29,6 @@ premium subscription!**
|
||||
|
||||
### Pending Implementation
|
||||
|
||||
* Detect and write the appropriate video extension (instead of hard-code mp4).
|
||||
* Add ASS support.
|
||||
* Add muxing (MP4+ASS=MKV).
|
||||
* Add series API to download an entire series rather than per-episode.
|
||||
|
||||
@ -132,6 +132,6 @@ function _video(config, page, player, filePath, done) {
|
||||
player.video.host,
|
||||
player.video.file,
|
||||
page.swf,
|
||||
filePath + '.mp4',
|
||||
filePath + '.' + path.extname(player.video.file),
|
||||
done);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user