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

Searching for username returning more than 1 result #2

Closed
Wolfieheart opened this issue Oct 19, 2021 · 1 comment
Closed

Searching for username returning more than 1 result #2

Wolfieheart opened this issue Oct 19, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Wolfieheart
Copy link

PS D:\New folder\src-pbs-to-csv-main> python src-pbs-to-csv.py Wolfheart output.csv
Traceback (most recent call last):
  File "src-pbs-to-csv.py", line 69, in <module>
    userid = getUserId(username)
  File "src-pbs-to-csv.py", line 13, in getUserId
    raise Exception('Searched for ' + username + ', got back ' + str(len(data)) + ' entries (expected 1)')
Exception: Searched for Wolfheart, got back 7 entries (expected 1)

Apparently when I check my user out for exporting it's not returning the name properly. Should properly hit https://www.speedrun.com/user/Wolfheart correctly.

@baldnate
Copy link
Owner

I found the bug: there are multiple usernames that start with "Wolfheart". Fix has been pushed. Thanks for reporting the bug!

@baldnate baldnate added the bug Something isn't working label Oct 19, 2021
@baldnate baldnate self-assigned this Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants