Easily download all the videos and PDF files from tus.app.box.com.
-
Python 3.7 and above are recommended
-
Anaconda is recommended
-
This project uses FFmpeg and requests. Go check them out if you don't have them locally installed.
$ requests
pip install requests
-
Log in your Tus box account. Open any video that needs to be downloaded.
-
Switch to the developer tool.
F12
→Network
→Ctrl R
-
Pick the first label like below.
- Select
cookies
and copy the value. Replace the value ofcookies
in the configuration file.
- Drag the video progress bar to the end.
- Check the developer tool to get the serial number of the end clip of the video.
- Replace the value of
end
in the configuration file. (An one-hour-long video usually has 700 clips.)
- Execute the program.
cd Box_Crawler
python crawl.py
-
Some videos do not have 1080p picture quality. You need to change the
quality
parameter of the configure to 480 before executing. -
When downloading PDF files, you only need to change the parameter of
cookie
.