fg2it / phantomjs-on-raspberry Goto Github PK
View Code? Open in Web Editor NEWPhantomjs for raspberry pi (armv6/armv7) and aarch64/arm64
Phantomjs for raspberry pi (armv6/armv7) and aarch64/arm64
from selenium import webdriver
driver = webdriver.PhantomJS()
driver.get('putanywebsitehere')
driver.page_source
''
This shouldn't happen, the page_source does not contain real source code, meaning nothing else works either
Trying following commands as root
wget https://github.com/fg2it/phantomjs-on-raspberry/blob/master/rpi-2-3/wheezy-jessie/v2.1.1/phantomjs_2.1.1_armhf.deb
And then
root@pi:~# dpkg -i phantomjs_2.1.1_armhf.deb
dpkg-deb: error: 'phantomjs_2.1.1_armhf.deb' is not a debian format archive
dpkg: error processing archive phantomjs_2.1.1_armhf.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
phantomjs_2.1.1_armhf.deb
Any advice ?
Thanks for this! I got it up and running on Raspberry Pi 3 on jessie. However, after an upgrade to stretch, I get an error โ QXcbConnection: Could not connect to display
โ when I run it. In retrospect, that's not surprising since your repo clearly says it's for wheezy and jessie.
Any pointers for making it work on stretch?
Hi, sorry for leaving this as an issue but I couldn't find another way to contact you. Just wanted to say thank you for compiling these for arm64/debian. You've saved me such a huge amount of headache I can't even tell you.
If you have some instructions on how you got these compiling as I tried the instructions on phantomjs' site but it fails in a docker container. I just happened to find someone had linked to this repo on a Stack Overflow!
uname - a: 4.4.32+ #924 Tue Nov 15 18:06:42 GMT 2016 armv6l GNU/Linux (latest updates)
Any plans to put a newly compiled version on github?
All the best, and thanks for the work
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.