Add standing offers
[contractdashboard.git] / admin / download.py
blob:a/admin/download.py -> blob:b/admin/download.py
--- a/admin/download.py
+++ b/admin/download.py
@@ -1,1 +1,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']