Giter Site home page Giter Site logo

mayeaux / videodownloader Goto Github PK

View Code? Open in Web Editor NEW
801.0 22.0 102.0 1.19 MB

A video and channel downloader that supports 110 websites, powered by Electron and youtube-dl

License: Creative Commons Zero v1.0 Universal

HTML 16.82% JavaScript 83.18%
youtube-dl electron

videodownloader's Issues

The SUID sandbox helper binary was found, but is not configured correctly

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.

windows7 安装报错

报错日志如下:

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

Insecure string pickle

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

resolution choice / arguments ?

First of all thank you for this.

Is there a way to choose dl resolution (at least for youtube 360p, 720p or 1080p) ?

Regards

Don't allow title sizes over 255 characters

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:

Help Building a MacOS App

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.