Tim Hutton

Results 84 comments of Tim Hutton
trafficstars

@rbairwell This issue is about _retweets_, marked with `RT:` in the JSON. Example of the truncation at 140 characters: `RT @jotero3d: kleinian groups 3d blender cycles ;) No Octane, Arnold,...

~I agree with @rbairwell. Let's keep parser.py as a tool that parses the archive using only local data. Extended functionality like download_better_images.py and URL expansion can be handled by separate...

@abaumg Do you need to read `tweet*.js` in this script? We already expand the URLs in `parser.py` using the JSON. I had imagined `expand_urls.py` would work by read the `*.md`...

@jwildeboer I agree that we may want mapping files for media and URLs at some point. For now I think let's adopt the simplest possible solution: it searches files for...

Running these remote lookups is super slow (mostly because we sleep for 0.75s between each for fear of being limited). And we might have a lot of them to do....

Someone on mastodon said they hammer t.co to get the redirects in parallel and have never been rate-limited. If that's true with all of the shorteners then maybe we can...

Ways to break up the work into smaller PRs: - just the function to attempt to unshorten a URL - just the code to make use of an unshortening cache...

For less technical users I think this proposal is a good idea as a default. Huge images could ruin their rendered markdown otherwise. We already include HTML tags for videos....

@Bananattack It's strange but I don't see this with any PNG in my archive, which include screenshots. They're all the same size and visually identical to the ones available online...

Hello. Thanks for making a PR. One change per PR please. What's the motivation for the randomizing? Have we seen any problems with the fixed sleep?