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 is.gd #36

Open
Sjors opened this issue Nov 13, 2022 · 1 comment · May be fixed by #42
Open

Expand is.gd #36

Sjors opened this issue Nov 13, 2022 · 1 comment · May be fixed by #42

Comments

@Sjors
Copy link

Sjors commented Nov 13, 2022

Twitter used this until about 2011. It seems their engineers forgot about it, because they're not expanded, but they still work! Example.

@Sjors
Copy link
Author

Sjors commented Nov 13, 2022

I'm guessing (didn't double check) that the is.gd URL's are not expanded in the Twitter archive under expanded_url. That means the script would have to fetch the minified URL and see where the redirect points.

In that case I suggest creating a separate JSON / CSV file to track the mapping between short and long URL's. That way if you ever have to rerun the script, it won't hammer the URL shortener again needlessly, and if the shortener ever disappears, you still have the mapping.

@Sjors Sjors mentioned this issue Nov 13, 2022
@abaumg abaumg linked a pull request Nov 13, 2022 that will close this issue
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 a pull request may close this issue.

1 participant