vifreefly / kimuraframework

Kimurai is a modern web scraping framework written in Ruby which works out of box with Headless Chromium/Firefox, PhantomJS, or simple HTTP requests and allows to scrape and interact with JavaScript rendered websites
MIT License
1.01k stars 154 forks source link

Update Readme to include 'lsof' aptfile #32

Open jcohenho opened 4 years ago

jcohenho commented 4 years ago

It took me hours to figure this out so I want to help anyone else having trouble getting this running on Heroku.

Kimurai uses the lsof command, so you need to install the apt heroku buildpack to support lsof. Follow the directions described on the buildpack page. You basically need to create an Aptfile with the single line lsof and include it in the root folder along with adding the heroku buildpack. Can you add this to the docs? Thanks!

muhammedtufekyapan commented 4 years ago

Hi @jcohenho

How can I do that? I stuck with this too and can't figure it out.

lo-bi commented 4 years ago

@jcohenho I have the same issue, can you give us more details on how you solved this? Thanks

jcohenho commented 4 years ago

@lo-bi @muhammedtufekyapan I gave details above in how to solve it, which parts are you having trouble with?

lo-bi commented 4 years ago

Yes, after reading it 10 times I figured it out :) it works for me as well, spent the whole day on it.. Thanks!

jcohenho commented 4 years ago

@lo-bi I updated my original comment to make it more clear.

GarnicaJR commented 3 years ago

i have faced a pretty much similar issue on Archilinux so i had to install lsof from AUR repositories

i ran the below command

yay -S lsof

cosmichut commented 2 years ago

hello, guys, you really do me a big big help, I spent long time to resolve the heroku + chrome + selelium web driver. and you did the right job.