Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Footlocker MY (Malaysia) or SG (Singapore) Monitor #52

Open
cibai7181 opened this issue Feb 4, 2021 · 1 comment
Open
Labels
new monitor Requires a development of a new monitor

Comments

@cibai7181
Copy link

I tried to modify the code from "FootlockerUSMonitor", but I don't think it will works.

Repeated error in log shown
urllib3.connectionpool - Starting new HTTPS connection (1): www.footlocker.my:443
urllib3.connectionpool - https://www.footlocker.my:443 "GET /en/men/shoes/ HTTP/1.1" 200 24530
... repeat

What I changed:

  1. proxyObject = FreeProxy(country_id=['MY'], rand=True)

  2. embed['url'] = f'https://www.footlocker.my{product_item[3]}' # Item link

  3. try:
    html = s.get('https://www.footlocker.my/en/men/shoes/', headers=headers,

Please kindly update the release, thank you :D

@yasserqureshi1 yasserqureshi1 added the new monitor Requires a development of a new monitor label May 10, 2021
@adityasanehi
Copy link
Contributor

Hey, I'm pretty positive that you need to change the elements as well, right click on a listing and check if it uses the same elements as the Footlocker US site, if it doesn't work on repeated tries, then the site has a diff structure and you need to replace the elements being scraped accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new monitor Requires a development of a new monitor
Projects
None yet
Development

No branches or pull requests

3 participants