geekcomputers / geekcomputers/Python

Url change in weather scrapper

Open
#494 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
35.4k
Forks
12.9k
Avg merge
2h 37m
Merged PRs (30d)
1

Description

The url of query of city has already changed, and there's national code between city name and 'https://www.wunderground.com/weather/'
for example:
the 'https://www.wunderground.com/weather/in/taizhou' doesn't work while 'https://www.wunderground.com/weather/cn/taizhou' works

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the weather scraper and the code that constructs the wunderground.com weather URL. Check how the city query is formed and update it to include the required national code between the country code and city name. Confirm that the Taizhou example uses a working URL with the national code.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.