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

Run workouts don't convert #1

Open
victorypoint opened this issue Jan 30, 2023 · 0 comments
Open

Run workouts don't convert #1

victorypoint opened this issue Jan 30, 2023 · 0 comments

Comments

@victorypoint
Copy link

For example, Zwift workouts: The Running Channel » The Running Channel: Run With Sarah | What's on Zwift? (whatsonzwift.com)

Conversion results in this content:

Traceback (most recent call last):
File "/data/./wozzwo.py", line 172, in
main()
File "/data/./wozzwo.py", line 144, in main
title = text(tree, '//h4[contains(@Class, "flaticon-bike")]').strip()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/data/./wozzwo.py", line 130, in text
return tree.xpath(f"{selector}/text()")[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant