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

Update URLs for OEBB parser to use HTTPS + switch to XML queries (from HAFAS binary) #285

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
9 changes: 4 additions & 5 deletions src/parser/parser_xmloebbat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
#include "parser_xmloebbat.h"

ParserXmlOebbAt::ParserXmlOebbAt(QObject *parent)
: ParserHafasBinary(parent)
: ParserHafasXml(parent)
{
baseXmlUrl = "http://fahrplan.oebb.at/bin/query.exe";
baseSTTableUrl = "http://fahrplan.oebb.at/bin/stboard.exe/en";
baseUrl = "http://fahrplan.oebb.at/bin/query.exe";
baseBinaryUrl = "http://fahrplan.oebb.at/bin/query.exe/en";
baseXmlUrl = "https://fahrplan.oebb.at/bin/query.exe";
baseSTTableUrl = "https://fahrplan.oebb.at/bin/stboard.exe/en";
baseUrl = "https://fahrplan.oebb.at/bin/query.exe";
STTableMode = 1;
}

Expand Down
2 changes: 1 addition & 1 deletion src/parser/parser_xmloebbat.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include "parser_hafasbinary.h"

class ParserXmlOebbAt: public ParserHafasBinary
class ParserXmlOebbAt: public ParserHafasXml
{
Q_OBJECT

Expand Down