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

update -u option #27

Open
theycallmemac opened this Issue Oct 22, 2018 · 1 comment

Comments

Projects
1 participant
@theycallmemac
Owner

theycallmemac commented Oct 22, 2018

Scraping the timetable continuously is a pretty laborious task to keep repeating.

It would be much better to scrape the entire thing once, and have it exist as some kind of file somewhere on the machine.

I'm proposing an update option to the tool, expressed simply as dcurooms -u or dcurooms --update. One big scrape, no longer will you have to rely on your connect to eduroam or the likes apart from that one big scrape.

I've set this as a milestone for v3.0.0, because it's a huge change to the way in which this tool works.

@theycallmemac theycallmemac added this to the 3.0.0 milestone Oct 22, 2018

@theycallmemac theycallmemac added this to To do in dcurooms via automation Oct 22, 2018

@theycallmemac

This comment has been minimized.

Owner

theycallmemac commented Oct 30, 2018

With the DCU timetable system experiencing some downtime recently, I've decided this needs to be a priority.

The idea of having to manually pull using a -u isn't the most appealing idea I've ever had. Nightly builds of the timetable would be better, with the -u existing still as an option.

Not really sure how to go about that though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment