Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add an option to set phantomjs location #15146
Comments
|
Under the latest Raspbian, phantomjs fails as follows. As near as I can figure out this is due to an issue with the version of Qt included with Raspbian and the recommended solution is to run phantomjs inside a xvfb-run wrapper. Running youtube-dl itself inside of xvfb-run does work correctly but means I'm using additional resources on my little Raspberry Pi even in situations where the scraper that ends up getting used doesn't make use of phantomjs... I'm wondering if a "--phantomjs-location" option could allow something like "/usr/bin/xvfb-run -a /usr/bin/phantomjs" to be set. Note: This is with phantomjs 2.1.1, though the failure is causing the version not to show up in your verbose output... [debug] System config: [] |
Hello,
The openload extractor uses phantomjs and looks for it in the PATH.
Would is be possible to add an option to set the location of the binary manually (similar to
--ffmpeg-location)?