rimu

Results 12 comments of rimu

https://raw.githubusercontent.com/collinbarrett/FilterLists/master/data/FilterList.json is 404, I think the new URL is https://raw.githubusercontent.com/collinbarrett/FilterLists/master/services/Directory/data/FilterList.json

I struggled with this for quite a while. In the end, all I needed to do was ```source venv/bin/activate ``` i.e. reload by venv

> so long as you figured out a way to convert them to a Uint8Array that you're comfortable with. I have not... I'm having some trouble with this - I...

Ah, yes, now I can see where startRegistration does the conversion. I still get the same error, though. I'm using 9.0.1 which is a bit old. That is the version...

Solved by using a shorter user_id: https://github.com/duo-labs/py_webauthn/issues/199#issuecomment-1981888478

This _would_ be really simple on the pixelfed side: ``` query = request.args.get('resource') # e.g. query value: "acct:[email protected]" if 'acct:' in query: actor = query.split(':')[1].split('@')[0] # alice elif 'https:' in...

zimscraperlib does the file download, in download.py (def save_large_file). It uses wget with parameters that make it retry 5 times, including if connections are refused: ``` subprocess.run( [ WGET_BINARY, "-t",...

Also, we could insert some delays in gutenberg/download.py. For example: ``` if not download_file(url, zpath): logger.error("ZIP file download failed: {}".format(zpath)) continue ``` becomes ``` if not download_file(url, zpath): logger.error("ZIP file...

I've made a PR on python-scraperlib, someone please take a look :)

@rgaudin Yes, good point! I have been experimenting with tracking overall success and failure of multiple download attempts in a dictionary. The downloads happen in concurrent threads so it is...