Skip to content

asyncParseAsin fails to extract asin due to a 503 when the asin is already in the url #19

@alonseg

Description

@alonseg

test url: https://amzn.eu/d/hdFr7Ue
error: "https://www.amazon.co.uk/dp/B0CHN77WSN?ref_=cm_sw_r_apan_dp_HWW1YYCS0W4EYFMKFPEY&language=en-GB returned HTTP 503"

I'm running on cloud compute and amazon do not allow crawling from these IP, as you can see the "error" url contains the ASIN so it could have been extracted.

you can either test the regex on the url before throwing the error, or test the regex before even looking at the response code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions