Alper Cugun

Results 138 comments of Alper Cugun

Maybe going to use Selenium after all because this is the post payload for getting one of the documents: ``` ergebnissForm=ergebnissForm&javax.faces.ViewState=-8635335262319402326%3A6636106239244724446&ergebnissForm%3AselectedSuchErgebnisFormTable_rppDD=10&ergebnissForm%3AselectedSuchErgebnisFormTable_rppDD=10&ergebnissForm%3AselectedSuchErgebnisFormTable%3A0%3Aj_idt164%3A2%3Afade=ergebnissForm%3AselectedSuchErgebnisFormTable%3A0%3Aj_idt164%3A2%3Afade ``` and its triggered in javascript by this Jakarta...

I still have to try it out. It could be that this thing has a `` fallback.

I ported it to Selenium and can download the PDF files now. Will polish it and make sure you can for a given company get all the PDFs.

I'll post it after one more iteration. It seems nothing here works without javascript.

Is this still necessary? I got it to work in headless and download all the straightforward documents for an entity. This can be cleaned up, documents moved into a permanent...

It should already be headless like this: https://github.com/alper/handelsregister/blob/main/sel.py#L37

I think it does but I haven't used it for a while and it's grossly untested. It definitely won't work to just get a bunch of PDFs without a lot...

OK. And this also works on iOS 10 I just tested.

You're using echo with three single quotes? What's the point of that?

You can display which shell you're in using this: https://starship.rs/config/#shell That should fix the: > This can sometimes make it difficult to distinguish which shell is currently being used. You...