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

Only remove Twitter image URLs, not 3rd party media URLs #612

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IBBoard
Copy link
Contributor

@IBBoard IBBoard commented Aug 20, 2016

Replaces pull request #508

Only removing Twitter URLs is important because Flickr and Instagram images (amongst others) may have comments and other details on the page and the URL may be integral to the content of the tweet, whereas Twitter images are reliably at the end of the tweet.

We also now won't load 3rd party images when Twitter images exist because this used to lead to double-images, and we now keep the URLs

This is important because Flickr and Instagram images (amongst
others) may have comments and other details on the page and the URL
may be integral to the content of the tweet, whereas Twitter images
are reliably at the end of the tweet.

We also now won't load 3rd party images when Twitter images exist
because this used to lead to double-images, and we now keep the URLs
@IBBoard IBBoard force-pushed the bug456-do-not-remove-3rd-party-image-urls branch from 4721796 to a3d4ea6 Compare November 12, 2016 14:26
@IBBoard
Copy link
Contributor Author

IBBoard commented Nov 12, 2016

Rebased onto Master after latest "video and preview image fix" changes

@Vistaus
Copy link

Vistaus commented Aug 17, 2017

This would be a nice improvement, +1 (although I do see that there are file conflicts) With this it would even be better than the official Twitter app on my phone lol (the app does keep Twitter image URL's, annoyingly).

@IBBoard
Copy link
Contributor Author

IBBoard commented Aug 17, 2017

I've been meaning to check recently whether this needs further change (in addition to being updated to match the separate patch file that I use and keep up to date for my custom build - I'm never sure what the best practice is for fixing these conflicts!). While this doesn't remove 3rd party URLs, I've been wondering recently whether it has been removing Twitter URLs from the middle of the tweet. I think the best behaviour would be to only remove trailing image/quoted tweet URLs.

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

Successfully merging this pull request may close these issues.

2 participants