Foxym [#24]the scraped format should be Html
https://i.ibb.co/6Rp4HVW0/image-1778935199809.png
as for the error, its reporting that no sheet available
my assumption is that while the subprocess compiles data, the main program just passes through and runs the next lines as normal
if it's written correctly, it shouldn't create the sheet until our sub process completes.
my eyes are lowkey hurting, so lemme see if I can spell out the correct flow.
we run scraper in parallel, then retrieve a result object, then we extract the text content from the result object and serialise using pandas or some other library and save. That's it.
you don't need to write to the sheet before u've gotten the entire result object, that seems to lead to some kind of race condition during writes as u're seeing. U have a thousand lines (scary, there shouldn't be so much code?) so there are a lot of moving parts I'm not seeing, but if u follow this sequence step by step u should be fine.
For the multiprocessing, isolate that part of your code and test it runs. Then use Pool() properly.