mayeaux / videodownloader Goto Github PK
View Code? Open in Web Editor NEWA video and channel downloader that supports 110 websites, powered by Electron and youtube-dl
License: Creative Commons Zero v1.0 Universal
A video and channel downloader that supports 110 websites, powered by Electron and youtube-dl
License: Creative Commons Zero v1.0 Universal
Seems the installation instructions should have mentioned the need for setting up chrome-sandbox properly. I'm running on WSL and get this.
$ sudo chown root node_modules/electron/dist/chrome-sandbox
$ sudo chmod 4755 node_modules/electron/dist/chrome-sandbox
$ npm start
> [email protected] start /mnt/c/work/experiments/node/videodownloader
> electron .
[1790:0702/081142.951857:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755.
Any chance we can get a version of this that downloads in a .MP4 file format? .MKV is great, but Adobe Premiere is incompatible with .MKV files.
Do you plan on releasing one?
Thank you.
Wouldn't it be easier to use the youtube-dl package instead of having to download the executable?
hi mayeaux ,
please make deploy to heroku button
finest regards
I need a list of supported websites on the readme before I install it.
Hi, I download the video: https://www.youtube.com/watch?v=mC7nN8OShvY&list=PLMBAcjeGtKQbVUmhZrrPf4evOyrDgFOTX&index=9 ,
it's just 51 minutes, but it's size is 12G, it is huge.
Is there a way that to choose a small size?
Would like to run populateTitle() on onfocusout or onblur but it seems to be impossible. If anyone else can get it to work that's great
报错日志如下:
2018-04-12 09:17:06> Program: Starting Squirrel Updater: --install .
2018-04-12 09:17:06> Program: Starting install, writing to C:\Users\Administrator\AppData\Local\SquirrelTemp
2018-04-12 09:17:06> Program: About to install to: C:\Users\Administrator\AppData\Local\Wox
2018-04-12 09:17:07> CheckForUpdateImpl: Couldn't write out staging user ID, this user probably shouldn't get beta anything: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\Wox\packages.betaId”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
在 System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
在 System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
在 System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
在 Squirrel.UpdateManager.CheckForUpdateImpl.getOrCreateStagedUserId()
2018-04-12 09:17:07> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: 未能找到路径“C:\Users\Administrator\AppData\Local\Wox\packages\RELEASES”的一部分。
在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
在 Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
在 Squirrel.UpdateManager.CheckForUpdateImpl.d__2.MoveNext()
2018-04-12 09:17:07> CheckForUpdateImpl: Reading RELEASES file from C:\Users\Administrator\AppData\Local\SquirrelTemp
2018-04-12 09:17:07> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2018-04-12 09:17:07> ApplyReleasesImpl: Writing files to app directory: C:\Users\Administrator\AppData\Local\Wox\app-1.3.524
2018-04-12 09:17:07> LogHost: Rigging execution stub for lib/net45/Wox_ExecutionStub.exe to C:\Users\Administrator\AppData\Local\Wox\Wox.exe
2018-04-12 09:17:07> ApplyReleasesImpl: Squirrel Enabled Apps: []
2018-04-12 09:17:07> ApplyReleasesImpl: No apps are marked as Squirrel-aware! Going to run them all
2018-04-12 09:17:07> ApplyReleasesImpl: About to create shortcuts for Wox.exe, rootAppDir C:\Users\Administrator\AppData\Local\Wox
2018-04-12 09:17:08> ApplyReleasesImpl: Creating shortcut for Wox.exe => C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Wox\Wox.lnk
2018-04-12 09:17:08> ApplyReleasesImpl: About to save shortcut: C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Wox\Wox.lnk (target C:\Users\Administrator\AppData\Local\Wox\Wox.exe, workingDir C:\Users\Administrator\AppData\Local\Wox\app-1.3.524, args , toastActivatorCSLID 9da9f3e0-d1f9-5b8f-a96b-7228c4d219b2)
2018-04-12 09:17:08> ApplyReleasesImpl: Creating shortcut for Wox.exe => C:\Users\Administrator\Desktop\Wox.lnk
2018-04-12 09:17:08> ApplyReleasesImpl: About to save shortcut: C:\Users\Administrator\Desktop\Wox.lnk (target C:\Users\Administrator\AppData\Local\Wox\Wox.exe, workingDir C:\Users\Administrator\AppData\Local\Wox\app-1.3.524, args , toastActivatorCSLID 9da9f3e0-d1f9-5b8f-a96b-7228c4d219b2)
2018-04-12 09:17:08> ApplyReleasesImpl: Examining Pin: Windows Explorer.lnk
2018-04-12 09:17:09> ApplyReleasesImpl: Starting fixPinnedExecutables
2018-04-12 09:17:09> ApplyReleasesImpl: Examining Pin: Windows Explorer.lnk
2018-04-12 09:17:09> ApplyReleasesImpl: Fixing up tray icons
2018-04-12 09:17:09> ApplyReleasesImpl: cleanDeadVersions: for version 1.3.524
2018-04-12 09:17:09> ApplyReleasesImpl: cleanDeadVersions: exclude folder app-1.3.524
When I try to download a video I get an error message saying "insecure string pickle". After some googling it seems to indicate that one of the reasons why this error message might pop up is if you are forgetting to close the stream that you're using for dumping the data structure. No idea if this is applicable for you though.
Video I tried to download in case that matters:
https://www.youtube.com/watch?v=-8XIR3OwKKo
The only value I changed in your GUI was the location to where it was being downloaded. And I changed it to a folder to which I have write rights.
No log seems to have been generated in the normal places (Mac OS X). Let me know where I can find them in case you are interested in what has been generated there.
I am using Mac OS X 10.14.1
First of all thank you for this.
Is there a way to choose dl resolution (at least for youtube 360p, 720p or 1080p) ?
Regards
Currently downloads will fail if the title is too long. There should be a hard limit of 255 chars, or whatever the limit would have to be to prevent me getting this error: ERROR: unable to open for writing: [Errno 63] File name too long:
Is it possible to hard code the download directory?
Hi @mayeaux !
Your video downloader is awesome, thank you for sharing it with the GitHub community! =]
I'm trying to integrate your video downloader into a native MacOS app. The application is for internal use only, so it won't be sold or anything. And I was wondering if you'd be able to help troubleshoot it?
David
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.