Comments (4)
Ok, I solved this by doing the following:
- uninstalled chromium-browser that came installed with puppeteer (I suspected it might have grabbed a bad version)
sudo apt-get install chromium-browser
- in
index.js
, addexecutablePath: "/usr/bin/chromium-browser"
tothis.options
from tiktok-signature.
Hi,
Please check this comment
from tiktok-signature.
Ok that solved that issue, but a new one has risen.
So, after installing node to v13.11.0 and installing puppeteer with npm i puppeteer puppeteer-extra puppeteer-extra-plugin-stealth
I know get this error:
pi@chaengpi:~/scripts/tiktok-signature $ node server.js
Error: Failed to launch the browser process!
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 1: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: �: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 1: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: �ELF����: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 2: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: p�#: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 3: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: p�#: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 4: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: ��@l�: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 5: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: pX: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 6: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 4: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: pX: not found
��q: not found
/home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: 7: /home/pi/scripts/tiktok-signature/node_modules/puppeteer/.local-chromium/linux-722234/chrome-linux/chrome: Syntax error: "(" unexpected
TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/home/pi/scripts/tiktok-signature/node_modules/puppeteer/lib/Launcher.js:750:14)
at Interface.<anonymous> (/home/pi/scripts/tiktok-signature/node_modules/puppeteer/lib/Launcher.js:739:50)
at Interface.emit (events.js:327:22)
at Interface.close (readline.js:424:8)
at Socket.onend (readline.js:202:10)
at Socket.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1201:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
from tiktok-signature.
I'm not sure if puppeteer is supported by linux arm versions.
Possible answer you can find here or here
from tiktok-signature.
Related Issues (20)
- trending.py returns empty response HOT 2
- Pulling data for all user videos? HOT 2
- Normal search example HOT 1
- How to sign a hashtag request? HOT 1
- python support HOT 4
- How do you get the downloadAddress to work? HOT 1
- X-bogus on video list api
- User-videos request is returning empty data
- URL length issue reported, localhost: 8080/signature
- Hashtag is only getting 30 results
- how to setup in vercel
- Fetch user info returns empty info HOT 2
- Fetching user videos not working on deployment HOT 4
- Frequent Empty String Returns in examples/user-video.js HOT 19
- Fail to get SEC_UID HOT 6
- How to get user infor HOT 6
- 请问 是否能在直接浏览器环境中使用
- How to get TT_REQ_PERM_URL for keyword search HOT 1
- Empty Response HOT 11
- TikTok not rendering when starting app HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiktok-signature.