Skip to content
Advertisement

TypeError: __init__() got an unexpected keyword argument ‘proxies’ bs4 scraping

JavaScript

The thing above is the relevant part to the error im getting when running the script. Where do i incorporate the “proxies” value? Help appreciated

Advertisement

Answer

You’re getting this error because there is no “proxies” argument in the constructor for a Request. There’s actually an example of a request using a proxy in the source code of the library you are using.

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement