Skip to content

save tenholes lessons&music sheets to local storage according to your account level(free / vip1 / vip2)

License

Notifications You must be signed in to change notification settings

shmily326/tenholes-autosaver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description:

  • save tenholes lessons&music sheets to local storage according to your account level(free / vip1 / vip2)
  • it's a quick and ugly implement

Requirements:

  • requests
  • tqdm
  • lxml

Usage:

  1. clone this repository to loaclhost
  2. copy assets in the repository to the root path where you’ll save lessons&music sheets, like this:
  3. get ten_auth1 from Cookie after you log into tenholes.com
  4. for downloading music sheets:
    • modify the root_path and ten_auth1 in the User Config part of down_sheets.py
    • run down_sheets.py
  5. for downloading lessons / tutorials:
    • modify the root_path, ten_auth1 and course_url in the User Config part of down_tutorials.py
    • run down_tutorials.py

Note:

  • this code is a quick implement and lack of adequate robustness, so if downloads collapse due to network timeout or other exceptions, you should delete the corresponding directory created by the code first, and then re-run the code (the code will automatically skip existing downloaded directories).
  • A MINIMUM TIME GAP OF 3 SECONDS FOR CRAWLER IS REQUIRED (in order not to overload the server).

About

save tenholes lessons&music sheets to local storage according to your account level(free / vip1 / vip2)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published