Closed nyssarex closed 2 years ago
I am using windows+pycharm
Hi @nyssarex, can you tell me in which line does this error occur?
Also, some other users have solved it by replacing ://
" with _
" in the filename.
I have tested the tool only in a Unix system. I will have a look into it for Windows as well and keep you updated.
Hi @eloukas , Yeah I saw this comment, but I didn't get where to replace this and also I have urls in file name you sad it is not correct yes?
@eloukas Hi again, I solved this error by this line guys accession_num = accessionnum.replace("://", "") may be need to do test check on windows also, I am not sure this is a right solution
Hi @nyssarex. Thank you for pointing out the issue. I fixed it and updated the code. Feel free to open any new issue if anything arises.
with open(filepath, 'wb') as f: OSError: [Errno 22] Invalid argument: 'C:\Users\Amir\PycharmProjects\edgar-crawler\datasets\RAW_FILINGS\1020214_10K_1999_https://www.txt'