Not Sure if Country VPN works properly
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.
4 Replies
Someone will reply to you shortly. In the meantime, this might help:
like-gold•3w ago
@Nilesh Kanawade share please your proxy configuration.
vicious-goldOP•2w ago
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 ^
optimistic-gold•2w ago
Hi @Nilesh Kanawade,
the password is incorrect, check out the docs
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 .
Residential proxy | Platform | Apify Documentation
Achieve a higher level of anonymity using IP addresses from human users. Access a wider pool of proxies and reduce blocking by websites' anti-scraping measures.