Code Monkey home page Code Monkey logo

scrape-nr-of-deaths-istanbul's People

Contributors

nazliander avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

scrape-nr-of-deaths-istanbul's Issues

Advice for improving usability

Description

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.

apt-key: not found

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

UnboundLocalError

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.