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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update Readme to include 'lsof' aptfile

jcohenho opened this issue · comments

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!

Hi @jcohenho

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

commented

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

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

commented

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

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

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

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.