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

Confused by Mastodon URLs? #184

Open
alexpdp7 opened this issue Jun 20, 2024 · 4 comments
Open

Confused by Mastodon URLs? #184

alexpdp7 opened this issue Jun 20, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@alexpdp7
Copy link

txtdot seems to choke on Mastodon URLs, such as https://mastodon.social/@fabinou ; the /@ confuses it?

@artegoser artegoser added the bug Something isn't working label Jun 22, 2024
@artegoser
Copy link
Member

For some strange reason the stackoverflow engine is triggered.

@artegoser
Copy link
Member

When all engines fail, it turns out the one that triggered the error was not the standard one, but the very first one, which is stackoverflow. Readability can't parse this page either. The problem is not the url. We need to make a custom engine for mastodon.

@alexpdp7
Copy link
Author

Oh, don't worry too much. Mastodon has an API and RSS feeds, so for me it's not a priority to have txtdot process it correctly, so I don't need a custom engine- I was just curious and testing txtdot.

I thought textder would take care of this, though?

@alexpdp7
Copy link
Author

alexpdp7 commented Jul 6, 2024

BTW, I had moderate success "reading" Mastodon URLs with:

$ chromium --headless --dump-dom https://mastodon.social/@chechar/112684876504101474 | w3m -T text/html -dump

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