Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added IVLEDownloader.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion IVLEDownloader.pro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ TARGET = IVLEDownloader
TEMPLATE = app


DEFINES += APIKEY=\\\"k0z3B5Ng9rhy3MKVAKsGG\\\" \
DEFINES += APIKEY=\\\"dy1R6cs39qzjQamrIzX6U\\\" \
MAXRECENT=5

SOURCES += main.cpp\
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# 11 Apr 2018

Windows release version:
### [Download](https://github.com/denunciator/IVLEDownloader/blob/master/IVLEDownloader.exe?raw=true)

Get the original from [here](https://github.com/yyjhao/IVLEDownloader/releases/tag/V1.1) and overwrite with the above .exe file.

See https://github.com/yyjhao/IVLEDownloader/issues/14 for context.




# Overview

This is simple Qt daemon to automatically download [National University of Singapore](http://www.nus.edu.sg/)'s
Expand Down
3 changes: 1 addition & 2 deletions externalpageparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
#include <QObject>
#include <QVariant>
#include <QtNetwork>
#include <QtWebkit>
#include <QtWebkit>
#include <QtWebKit>
#include <QWebPage>
#include <QWebFrame>
#include "promise.h"
Expand Down
4 changes: 2 additions & 2 deletions ivlefetcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ void IVLEFetcher::start(){
return Promise::all(ps, this->session);
})->then([=](const QVariant& data){
emit statusUpdate(complete);
timer->start(300000);
timer->start(3600000);
qDebug()<<data;
}, [=](const QVariant& error){
if(error.toString() == "invalid token"){
emit statusUpdate(invalidToken);
} else {
qDebug()<<"err"<<error;
emit statusUpdate(networkError);
timer->start(300000);
timer->start(3600000);
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion settingsdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#define SETTINGSDIALOG_H

#include <QDialog>
#include <QtWebkitWidgets>
#include <QtWebKitWidgets>
#include <QtWidgets>
#include <QFileDialog>
#include <QCheckBox>
Expand Down