nazliander / scrape-nr-of-deaths-istanbul Goto Github PK
View Code? Open in Web Editor NEWA scraper and simple time series analysis example with Selenium and Seaborn.
A scraper and simple time series analysis example with Selenium and Seaborn.
As a beginner docker user maybe I get it wrong, please show the right way if I did but it seems your scraping functions are relying on files to get the csv of dates for example. My question is, Is it possible to get inputs by end-users for example from cli?
And I get FileNotFoundError: [Errno 2] No such file or directory: '/app/__logger/selenium_stats.log'
error when I build the image. Can you please describe what it is selenium_stats.log used for in Readme or in comments?
On the other hand, it is a very good example for those learning to use Selenium with Docker. Thank you for your time.
I am getting this error:
=> ERROR [ 4/11] RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - 0.7s
------
> [ 4/11] RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -:
#7 0.315 /bin/sh: apt-key: not found
------
executor failed running [/bin/sh -c wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -]: exit code: 127
ERROR: Service 'app' failed to build
I get this error, Is it necessary to declare an environment variable at startup?
? What is the start date for scraping? Format: 2020-10-10 (Year-Month-Day) 2020-10-10
? What is the end date for scraping? Format: 2020-10-10 (Year-Month-Day) 2020-11-10
2023-07-13 05:09:30: INFO 10/10/2020
2023-07-13 05:09:31: ERROR Timeout value connect was <object object at 0x7f407ad881e0>, but it must be an int, float or None. happened.
Traceback (most recent call last):
File "./app.py", line 41, in <module>
app()
File "./app.py", line 24, in app
dates_deaths_dict[d] = take_death_number(
File "/app/helpers.py", line 63, in take_death_number
driver.quit()
UnboundLocalError: local variable 'driver' referenced before assignment
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.