lwthiker / curl-impersonate

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
MIT License
3.77k stars 248 forks source link

How to cleanly uninstall curl-impersonate? #59

Closed KirianCaumes closed 2 years ago

KirianCaumes commented 2 years ago

Hi,

I'm not gonna lie, I don't know much about how this project works, and some of it's concept are way beyond me, but I wanted to give it an eye for scraping something.

The thing is, now I want to uninstall this project.

So I deleted the folder where I cloned the repo and remove some stuff installed with apt, but I still have acces to the command curl_chrome99.

Is there a procedure to how to cleanly uninstall curl-impersonate?

Thanks by advance 😀

lwthiker commented 2 years ago

Hi,

make firefox-uninstall or make chrome-uninstall will do the trick. Make sure to run configure the same way as before.

Alternatively remove everything manually

rm -f /usr/local/bin/curl-impersonate-*
rm -f /usr/local/bin/curl_*
rm -f /usr/local/lib/libcurl-impersonate-*

(ls these files before to make sure you are not removing something else)

KirianCaumes commented 2 years ago

Hey, thanks for your answer!

I've executed the 3 rm -f, so those folders no longer exist.

But I still have access to to the command curl_chrome99 https://www.wikipedia.org, and it works.

Is there a way to delete the command?

lwthiker commented 2 years ago

Sorry I had a mistake in my comment. I edited it, please try again.

KirianCaumes commented 2 years ago

That's perfect, thanks a lot!