How to deploy python selenium script on Heroku

preview_player
Показать описание
In this video I am going to show how to run a python script that uses selenium and chrome driver in heroku platform.

======Links you need======

========================

=======Buildpacks==========
==========================

==========Keys=============
CHROMEDRIVER_PATH = /app/.chromedriver/bin/chromedriver
GOOGLE_CHROME_BIN = /app/.apt/usr/bin/google-chrome
==========================

=======Timestamps=========
00:00 -Introduce
01:22 -Login Heroku
01:51 -Create python script
11:20 -Setup heroku app
15:05 -Deploy in heroku
21:25 -Running Script
==========================

Contact me👇

#selenium #python #heroku
Рекомендации по теме
Комментарии
Автор

Hi, i'm glad and really pleased that i watched this video, because i was trying to deploy my selenium bot on heroku for a quite long time and always had some problems and errors, but with your way of deploying my bot is running perfectly! Thank you! :)

bursasha
Автор

Hey, this video would help many people who wanna deploy a python app with selenium. Many thanks for sharing it. It is an informative video.

gurkanozkirim
Автор

Can I close my Command prompt while it is running ?
Since the app is meant to be running on the cloud and not on my machine

ataimebenson
Автор

Thanks a lot! I thought that there is no way to host selenium web app, but now got confidence.

ponprabhakars
Автор

i deployed my selenium script on heroku but don't know why its acting weird like after opening browser its taking 10min to enter the website link i provided.I mean making every next action its taking too much time why is that happening?

Rana-ycyt
Автор

Thanks a lot
i like your tutorial a lot...

I was finding a way to use selenium in heroku, but I don't know how to get chrome driver ...

Thanks a lot...

suyashmhatre
Автор

Hey great video, but please make python comment bot which can comment on every new video of specific youtube channel automatically

patialvmohitkumar
Автор

I'm "gaming for fun", your Discord friend🔥🔥

Superior
Автор

I have tool required secrets.. then add it to requirements.txt but when install it say no module openSSL then add pyOpenSSL to requirements.txt I installed it normally but it still no module openSSL Please do you have any solution?

qrdr
Автор

Awesome work!
Thanks for sharing :)
Keep it up!
You've just got a new subscriber

sthefanocarvalho
Автор

Would It be possible to launch this script from a button hosted on a website via heroku, ideally with a input field of URL to be scraped and an output field of the page source? Just so others who aren't terminal savy could use easily?

bigtimepizzaenjoyer
Автор

Great Video dude. Just one question, how do i have to define a directory in horuko, when my selenium script is downloading files?

russgo
Автор

Does the vars config need to follow the absolute path and name of the app? I.e if my app in procfile must be executed with a different name then "app", i need to change the value of the var accordingly with its relative path. (/app/vendor/chrome/... need to be changed in

ExpectChaos
Автор

This is a lifesaver here, great tutorial.

VladimirTheAesthete
Автор

Lets say I made a selenium bot. Now to keep it active all the time, do I have to keep my pc on all the time if I follow your video?

verdrehteseele
Автор

How come when printing the page source it works, but when locating specific elements it only works locally rather than on Heroku?

Rafael-hkpg
Автор

Thank you for sharing this knowledge with us!
Helped me so much.

liveworsei
Автор

Hello! You talking very cool, because i'm Belorusian and i can translate all text what you talk whithout translator! (if you don't understand what i say, sorry)

Silendave
Автор

Hello. Thank you for the video. I wrote a simple bot that likes and follows people on Tumblr. It's working on my machine fine but when I deploy to Heroku it says it is using too much resource. So I can not run it on Heroku. Why could it be so? It's just a simple selenium bot. Is there any way to make it work?

listenandgrow
Автор

Thanks for this video it will definitely help me a lot!

michaelrochaalmeida
join shbcf.ru