Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcodallastella committed Nov 1, 2024
1 parent 16fe1b9 commit 1c925fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
scraper_elezioni.ipynb

# Created by https://www.toptal.com/developers/gitignore/api/macos,visualbasic,python,jupyternotebooks
# Edit at https://www.toptal.com/developers/gitignore?templates=macos,visualbasic,python,jupyternotebooks

Expand Down
5 changes: 2 additions & 3 deletions scraper.ipynb → scraper_codici.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1496,14 +1496,13 @@
" 'origin': 'https://elezioni.interno.gov.it',\n",
" 'priority': 'u=1, i',\n",
" 'referer': 'https://elezioni.interno.gov.it/',\n",
" # 'sec-ch-ua': '\"Chromium\";v=\"130\", \"Brave\";v=\"130\", \"Not?A_Brand\";v=\"99\"',\n",
" 'sec-ch-ua-mobile': '?0',\n",
" 'sec-ch-ua-platform': '\"macOS\"',\n",
" 'sec-fetch-dest': 'empty',\n",
" 'sec-fetch-mode': 'cors',\n",
" 'sec-fetch-site': 'same-site',\n",
" 'sec-gpc': '1',\n",
" # 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36',\n",
"\n",
"}\n",
"\n",
"url = 'https://eleapi.interno.gov.it/siel/PX/getentiR/DE/20241027/TE/07'\n",
Expand Down

0 comments on commit 1c925fc

Please sign in to comment.