-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk_downloader.py
45 lines (34 loc) · 1.53 KB
/
k_downloader.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import sys, os
from skillshare import Skillshare
from stm import cookie
# or by class ID:
# dl.download_course_by_class_id(189505397)
def main(cookie):
temp = sys.argv[2]
if len(temp) != 0:
cookie = temp
#trial
###
dl = Skillshare(cookie)
course_url = sys.argv[1]
dl.download_course_by_url(course_url)
def info():
print(r"""
##### ###### # # # #### ##### # # ####
# # # ## # # # # # # # #
##### ##### # # # # # # # # # ####
# # # # # # # # # # # # #
# # # # ## # # # # # # # #
##### ###### # # ###### #### # #### ####
##### #
# # # # # # ## # # # # ##### # # ## # #
# ### # # # # # # # ## # # # # # # # # # # #
# ### # #### # # # # # # # # # ##### ###### # # # #
# #### # # ####### ###### # # # # # # # # # ###### # #
# # # # # # # ## # # # # # # # # # #
##### # # # # # # # #### ##### # # # # ##
Visit Us for more Cool Stuff: https://forums.benlotus.com/
""")
if __name__ == "__main__":
info()
main(cookie)