Not Sure if Country VPN works properly
# apify-platform
n
Hello All, I'm trying to build a scraper which will login in to netflix of particular country and scrap top10 movies and tv shows list. When I run this scraper even though I mentioned to login from Singapore (netflix.com/sg/login), the netflix page redirects to US page (netflix.com/login). Hence, either I might be doing something wrong or VPN is not functioning properly.
h
Someone will reply to you shortly. In the meantime, this might help:
o
@nileshkanawade_49624 share please your proxy configuration.
n
# Update proxy for the country await context.route('**/*', lambda route: route.continue_( proxy={ 'server': 'http://proxy.apify.com:8000', 'username': f'groups-RESIDENTIAL,country-{country_code}', 'password': 'auto' } ))
this is my proxy config.
Here is the log: 2025-04-28T09:07:40.486Z [apify] INFO Initializing Actor... 2025-04-28T09:07:40.491Z [apify] INFO System info ({"apify_sdk_version": "2.5.0", "apify_client_version": "1.9.3", "crawlee_version": "0.6.7", "python_version": "3.13.3", "os": "linux"}) 2025-04-28T09:07:41.038Z [apify] INFO Logging in to Netflix... 2025-04-28T09:08:19.559Z [apify] ERROR Error during scraping: Page.fill: Timeout 30000ms exceeded. 2025-04-28T09:08:19.561Z Call log: 2025-04-28T09:08:19.563Z - waiting for locator("input[name=\"userLoginId\"]") 2025-04-28T09:08:19.565Z 2025-04-28T09:08:49.597Z [apify] INFO Scraping completed. 2025-04-28T09:08:49.600Z [apify] INFO Exiting Actor ({"exit_code": 0})
Note that same code works very well from my local machine
@olexandra_59608 ^
a
Hi @nileshkanawade_49624, the password is incorrect, check out [the docs](https://docs.apify.com/platform/proxy/residential-proxy#how-to-set-a-proxy-group) Note that 'auto' is a username (I think it is something like 'groups-Datacenter'), for RESIDENTIAL group you have to specify password, that you find in [Apify console proxy tab](https://console.apify.com/proxy/http-settings) ||.||