Git Product home page Git Product logo

informatics_python_parser's Introduction

Informatics python parser

Парсер задач авторского курса Д. П. Кириенко с informatics.mccme.ru (informatics.msk.ru)

Новый парсер

https://github.com/Radolyn/informatics_parser

Парсер для маленьких

Чтобы не копировать код и описание с сайта, был сделан парсер.

Для его работы необходимо установить зависимости:

python deps.py

Использование: python parserWrapper.py раздел

Пример (скачивание всех номеров с 14 раздела): python parserWrapper.py 14

Парсер для продвинутых

Использование: parser.py --folder папка_для_сохранения параметры

  • Для получения исх. кода на 1 задание следует указать: --one номер_задания --letter буква

  • Для получения исх. кодов на несколько заданий следует указать: --range нач_номер-кон_номер --letter нач_буква

  • Если --letter не указано, по умолчанию используется A

Пример (скачивание всех номеров с 1 раздела): python parser.py --folder '1 раздел' --range 3443-3450

Аплоадер

Чтобы не загружать вручную код на сайт, был сделан аплоадер.

Параметры те же, что и у парсера.

Пример (отправка всех номеров с 3 раздела): python uploader.py --folder '3 раздел' --range 3501-3527

Таблица начальных и конечных номеров по разделам

1 2* 3 4 5 6 7 8 9 10 11** 12 13 14.1 14.2 15 16***
3443 3455 3501 3528 3608 3735 3642 3791 3828 3828 4179 111152 111300 111194 111362 111326 3749
3450 3483 3527 3553 3629 3748 3667 3815 3853 3853 4197 111177 111325 111220 111387 111361 3774

* - есть ещё номер (3535)

** - есть ещё диапазон (112666-112672)

*** - есть ещё номер (113078)

Участие

Если у вас есть идеи по улучшению парсера - можете создать pull request или issue.

informatics_python_parser's People

Contributors

alexeyzavar avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.