category breakdown
[contractdashboard.git] / admin / download.py
1
2
3
4
5
6
7
8
import requests
from bs4 import BeautifulSoup
list = requests.get("https://www.tenders.gov.au/?event=public.reports.listCNWeeklyExport")
soup = BeautifulSoup(list.text, 'html.parser')
content = soup.find('div',class_='pad').find('ul')
for a in content.find_all('a'):
    print a['href']