Skip to content

Instantly share code, notes, and snippets.

View Tee-py's full-sized avatar
🏠
Working from home

Oluwatobiloba Emmanuel Tee-py

🏠
Working from home
View GitHub Profile
@Tee-py
Tee-py / inec_scraper.py
Created November 5, 2022 10:36 — forked from prettyirrelevant/inec_scraper.py
Scrapes INEC's website to retrieve all polling units in the country.
import asyncio
import json
from typing import Any, Dict, List, Tuple
import aiohttp
from bs4 import BeautifulSoup
async def main() -> None:
async with aiohttp.ClientSession(connector=aiohttp.TCPConnector(ssl=False)) as session: