Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement to the instructions #66

Open
yatru opened this issue Aug 1, 2021 · 2 comments
Open

Improvement to the instructions #66

yatru opened this issue Aug 1, 2021 · 2 comments

Comments

@yatru
Copy link

yatru commented Aug 1, 2021

Better to paste in the console:

copy(document.cookie);

@yatru
Copy link
Author

yatru commented Aug 1, 2021

Even better copy('cookie = "'+document.cookie+'"'); will provide you with the python variable

@yatru
Copy link
Author

yatru commented Aug 1, 2021

One line command to paste in the console and it copies the command ready to execute in python

a=window.location.href.match(/\d+/g);a=a[a.length-1];copy("echo "+"\"from downloader import Downloader\n"+'dl = Downloader(\''+document.cookie+'\')'+'\ndl.download_course_by_class_id('+a+')'+"\"|python\n");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant