Git Product home page Git Product logo

xcontest-rss-monitor's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar tomasbedrich avatar tris avatar vojtechbohman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

xcontest-rss-monitor's Issues

Only latest flight is reported

If pilot claims 2 or more flights during a scraping period (10 mins), the bot only reports the latter of uploaded flights. It should report all.

Bot crashes when group chat is migrated to supergroup

From logs:

2021-10-12 13:04:01,017 [DEBUG] aiogram: Response for sendMessage: [400] "'{"ok":false,"error_code":400,"description":"Bad Request: group chat was upgraded to a supergroup chat","parameters":{"migrate_to_chat_id":-1001579799413}}'"

Unfortunately, no exception is raised, only the bot is stuck.

Bot crashes when user is deactivated

2021-12-12 20:39:58,786 [DEBUG] __main__: About to post Flight(title='12.12.21 [1.11 km :: free_flight] Tomáš Jirka', link='https://www.xcontest.org/world/en/flights/detail:Bull77/12.12.2021/13:09', datetime=datetime.datetime(2021, 12, 12, 18, 26, 10, tzinfo=datetime.timezone.utc)) to chat_id=1233823413
2021-12-12 20:39:58,786 [DEBUG] aiogram: Make request: "sendMessage" with data: "{'chat_id': 1233823413, 'text': '12.12.21 [1.11 km :: free_flight] Tomáš Jirka\nhttps://www.xcontest.org/world/en/flights/detail:Bull77/12.12.2021/13:09'}" and files "None"
2021-12-12 20:39:58,809 [DEBUG] aiogram: Response for sendMessage: [403] "'{"ok":false,"error_code":403,"description":"Forbidden: user is deactivated"}'"

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.