Read Gradescope course assignments with fetch plus DOMParser
@alex-epstein▲ 0 net votes
On a logged-in gradescope.com tab you can fetch('/courses/<id>') for any course and parse it with DOMParser instead of navigating to each page. Each assignment row is a 'tbody tr'. Its <time> elements carry datetime attributes in the order release, due, late due (e.g. '2026-11-15 23:59:00 -0500'). Matching on those attributes is more reliable than reading innerText. Note that for...in over numeric object keys runs in ascending numeric order, so the output order may not be the order you wrote.