In some cases the url would return a 404 even though it is a valid app. The reason for the 404 was the inclusion of the country parameter. Once it was removed the request worked as intended. To solve this I added a try exception to catch the 404 returned to app.py and make 1 more request to the same URL without the country parameter in case that was the reason for the failure.
In some cases the url would return a 404 even though it is a valid app. The reason for the 404 was the inclusion of the country parameter. Once it was removed the request worked as intended. To solve this I added a try exception to catch the 404 returned to app.py and make 1 more request to the same URL without the country parameter in case that was the reason for the failure.
An example of this: https://play.google.com/store/apps/details?id=ca.walmart.ecommerceapp&hl=en&gl=us https://play.google.com/store/apps/details?id=ca.walmart.ecommerceapp&hl=en