Open yatru opened 3 years ago
Even better copy('cookie = "'+document.cookie+'"');
will provide you with the python variable
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");
Better to paste in the console:
copy(document.cookie);