rainclassroom-scrapper

@physicsdolphin physicsdolphin authored on 25 Oct 2024
GitHub committed on 25 Oct 2024
.gitignore Remove logs 1 year ago
README.md Create README.md 1 year ago
aria2c.exe Added Windows support 1 year ago
ffmpeg_extract_before_use.7z Added Windows support 1 year ago
main.py Bugfix 1 year ago
main_windows.py major structure optimize 1 year ago
option.py major structure optimize 1 year ago
packages_list.txt added package list 1 year ago
ppt_processing.py major structure optimize 1 year ago
scrap_example.txt major structure optimize 1 year ago
video_processing.py major structure optimize 1 year ago
README.md

requirements:

- Python >= 3.12
- requests
- websocket-client (qrcode login)
- qrcode (qrcode login)
- Pillow (Add answer to problem; Convert PPT to PDF)

required system binaries:

- aria2c (Download files multi-threaded & resume support)
- ffmpeg with nvenc support (Concatenate video segments and convert to HEVC)

""")

usage: main_windows.py [-h] [-c SESSION_COOKIE] [-y YKT_HOST] [--video] [--ppt] [--ppt-to-pdf] [--ppt-problem-answer] [--course-name-filter COURSE_NAME_FILTER] [--lesson-name-filter LESSON_NAME_FILTER]

options:
-h, --help Show this help message and exit
-c SESSION_COOKIE, --session-cookie SESSION_COOKIE
Session Cookie
-y YKT_HOST, --ykt-host YKT_HOST
RainClassroom Host
--video Download Video
--ppt Download PPT
--ppt-to-pdf Convert PPT to PDF
--ppt-problem-answer Store PPT Problem Answer
--course-name-filter COURSE_NAME_FILTER
Filter Course Name
--lesson-name-filter LESSON_NAME_FILTER
Filter Lesson Name