rainclassroom-scrapper

.gitignore file name sanitized for windows compatibility 1 year ago
N_m3u8DL-RE.exe significantly improved robostness thanks to https://github.com/nilaoda/N_m3u8DL-RE 1 year ago
README.md Update README.md 1 year ago
aria2c.exe added compatibility for old v1 courses 1 year ago
conda_environment.yml env fix+video concat fallback 1 year ago
ffmpeg_extract_before_use.7z Added Windows support 1 year ago
main_windows.py minor optimization 1 year ago
option.py windows file name fix & minor stability fix 1 year ago
ppt_processing.py parallelized m3u8 download thanks to https://github.com/cristiancll/HLSDownloader 1 year ago
scrap_example.txt parallelized m3u8 download thanks to https://github.com/cristiancll/HLSDownloader 1 year ago
video_processing.py fixed per-link video type detection 1 year ago
README.md

environment:
conda env create -f conda_environment.yml

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