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

Expand t.co links in spurious results #12

Open
pruvisto opened this issue Nov 7, 2022 · 2 comments
Open

Expand t.co links in spurious results #12

pruvisto opened this issue Nov 7, 2022 · 2 comments

Comments

@pruvisto
Copy link
Owner

pruvisto commented Nov 7, 2022

No description provided.

@anirvan
Copy link

anirvan commented Nov 13, 2022

I think I found an example of this bug.

The plain text of Twitter user "@brewster_kahle"'s bio says mastodon: @brewsterkahle@mastodon.archive.org

Twitter seems to encode that as mastodon: @brewsterkahle@mastodon.<a href="https://t.co/7ojy915Rea"><span>http://</span>archive.org</a>

Debirdify misinterprets the account as brewsterkahle@mastodon.https instead of @brewsterkahle@mastodon.archive.org

@renchap
Copy link

renchap commented Nov 23, 2022

I can confirm this, it makes some profile appear in spurious results and not be properly picked up.

For example, the HTML is:

<a dir="ltr" href="https://t.co/FQB2mjmfqn" rel="noopener noreferrer nofollow" target="_blank" role="link" class="css-4rbku5 css-18t94o4 css-901oao css-16my406 r-1cvl2hr r-1loqt21 r-poiln3 r-bcqeeo r-qvutc0">
  <span aria-hidden="true" class="css-901oao css-16my406 r-poiln3 r-hiw28u r-qvk6io r-bcqeeo r-qvutc0">http://</span>
  oisaur.com/@yoanmalie
</a>

Debirdify does not detect this profile properly

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

3 participants