Skip to content

Commit

Permalink
Fix guest name extraction.
Browse files Browse the repository at this point in the history
  • Loading branch information
emmiegit committed Feb 23, 2024
1 parent 4792cfa commit b35d623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yellowstone/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def get_entity_user(source: str, tag: Tag) -> Union[UserModuleData, DeletedUserD

# Guests don't have profile links
if entity.attrs["href"] == "javascript:;":
guest_name = regex_extract_str(source, entity.text.strip(), USER_GUEST_REGEX)
guest_name = regex_extract_str(source, tag.text.strip(), USER_GUEST_REGEX)
return CustomUserData(guest_name)

# Regular users
Expand Down

0 comments on commit b35d623

Please sign in to comment.