diff --git a/README.md b/README.md index d32500a..b853f9b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,10 @@ scrapes procyclingstats livestats homepage and timeline timeline updates are simply the titles, so sometimes you get something like "ranking after x km" or "present riders today from last years top 20" with no details. for now i am not getting the details from underneath, because for the most part they can be ignored. the action timeline headings like "wheel change for x rider" are good enough when they come through. -will try to get situation feed next, although it is not always visible so a challenge... +# todo + +- [ ] timeline items with details +- [ ] pypi package ?? # setup (windows) diff --git a/example_timeline_all.py b/example_timeline_all.py index 57c7307..d091a94 100644 --- a/example_timeline_all.py +++ b/example_timeline_all.py @@ -13,6 +13,6 @@ if len(stats.races) > 0: # prints in reverse so you dont have to scroll up to the most recent :P count = len(race.timeline) - 1 for item in race.timeline: - print(item[count]) + print(race.timeline[count]) print("===================") count -= 1 \ No newline at end of file