Comments (5)
I assume something in the HTML code changed, breaking the parser. Are you able to provide a fix?
from schiene.
<td class="time" style="min-width:150px;"><div class="floatRight" style="padding-right: 15px;"></div>13:06 <span class="delay">13:26</span></span></td>
so you have to subtract the value of td class "time" and the value of span class "delay".
i will have a look at it
from schiene.
the above mentioned span class delay is only available if the current connection actually has a delay. Providing a fix is a little bit time consuming, because you have to wait for a delayed connection to test :(
from schiene.
Unfortunately i don't have time to take a look at this right now, but im happy to take a pull request.
from schiene.
Thanks to @JulianKahnert for looking into this and providing a fix. Released on PyPi as version 0.20.
from schiene.
Related Issues (20)
- Not getting the next train correctly HOT 3
- Requirement "lxml" missing HOT 1
- Schiene fails to convert price to float HOT 4
- >AttributeError: 'NoneType' object has no attribute 'find'< on certain connections HOT 15
- There is a Bahn api now HOT 8
- HTML Code changed? HOT 1
- Problem with Wolfbusch Station HOT 2
- "self.data.update & self.only_direct" in update HOT 2
- Duration not accurate if >24 hours HOT 1
- Better Alternative HOT 1
- Is there a limit to requests / seconds? HOT 2
- Parallel? HOT 1
- Hamburg-Eidelstedt not working HOT 2
- schiene crashes HOT 2
- Help with use HOT 1
- TypeError: unsupported operand type HOT 2
- Use pyhafas HOT 10
- Bahn declares cancelled train wrong?
- Canceled connection is reported as 'ontime'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schiene.