Added captcha solving method
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
FROM python:3.7
|
||||
|
||||
ENV TELEGRAM_API_KEY=5707028834:AAFlX07ObRGWmm15KtHgwqcPZ4OHy-MkMks
|
||||
|
||||
# Adding trusting keys to apt for repositories
|
||||
RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
|
||||
|
||||
@@ -12,12 +10,15 @@ RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable
|
||||
RUN apt-get -y update
|
||||
|
||||
# Magic happens
|
||||
#RUN wget -O /tmp/google-chrome-stable.deb http://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/google-chrome-stable_108.0.5359.71-1_amd64.deb
|
||||
#RUN apt install -y /tmp/google-chrome-stable.deb
|
||||
RUN apt-get install -y google-chrome-stable
|
||||
|
||||
# Installing Unzip
|
||||
RUN apt-get install -yqq unzip
|
||||
|
||||
# Download the Chrome Driver
|
||||
#RUN wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/108.0.5359.71/chromedriver_linux64.zip
|
||||
RUN wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`/chromedriver_linux64.zip
|
||||
|
||||
# Unzip the Chrome Driver into /usr/local/bin directory
|
||||
|
||||
Reference in New Issue
Block a user