9/9/2023 0 Comments Python download file![]() would be good if someone can see if that is happening to them also import pandas as pd Its as though the server may have limit on number of request in a given timeframe. UPDATE: seems if i wait a while and try running the code once more, it works. Wondering if someone can try this code to see if they have the same issue or can see if there is anything i am doing incorrectly then it would stop without any coding changing. What's strange is that it worked a few times - i was able to download the excel file. Depending on the library i use (requests, urlib, urlib3), the error is either 403 or simply some html with text 'request unsuccessful' is returned. However, when i try to programmatically do this, i have no luck. ![]() I can manually download this file by pasting the url in a browser:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |