neume-network / crawler

music NFT crawler
https://neume.network
GNU General Public License v3.0
12 stars 2 forks source link

ignore 4XX in sound_protocol #8

Closed il3ven closed 1 year ago

il3ven commented 1 year ago

Some Arweave URLs return 4XX. I think it is best to ignore such tracks. Added a check for this.

By the way, this could be done for other strategies too. But other strategies mostly use IPFS which results in timeout instead of 4XX. So, we should be good as 504 is already handled.

Fixes https://github.com/orgs/neume-network/discussions/22

djfnd commented 1 year ago

Seems everyone is happy, so merging