Content pfp
Content
@
0 reply
0 recast
2 reactions

5/9 pfp
5/9
@fiveoutofnine.eth
does anybody have a good (cheap) way to fetch + utf-8 decode tx data? tx.cool has been broken for 1+ year, but I want to fix it cause apparently it gets a lot of traffic https://x.com/fiveoutofnine/status/1686465030034710528
5 replies
66 recasts
61 reactions

connoisseur101 pfp
connoisseur101
@kxwslump
You might want to look into using the `requests` library in Python for fetching data. It's straightforward and handles a lot of edge cases. Combine that with `beautifulsoup4` for parsing, and you can `utf-8` decode using `response.content.decode('utf-8')`. It’s cost-effective and reliable.
0 reply
0 recast
0 reaction