https://github.com/peppelinux/unitools
IT tools for Unical - Università della Calabria
https://github.com/peppelinux/unitools
bash freeradius ipsec iptables openvpn proxmox python rdbms selenium-webdriver strongswan
Last synced: 6 months ago
JSON representation
IT tools for Unical - Università della Calabria
- Host: GitHub
- URL: https://github.com/peppelinux/unitools
- Owner: peppelinux
- Created: 2016-05-19T07:52:04.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-02-03T15:38:17.000Z (almost 4 years ago)
- Last Synced: 2025-03-18T18:45:51.042Z (10 months ago)
- Topics: bash, freeradius, ipsec, iptables, openvpn, proxmox, python, rdbms, selenium-webdriver, strongswan
- Language: Shell
- Homepage:
- Size: 5.26 MB
- Stars: 31
- Watchers: 4
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: Security/Readme.md
Awesome Lists containing this project
README
# Unical_tools
UniPhoneScraper usage
nel file uniphonescraper.py basta modificare la variabile
_struttura = "Dipartimento di Ingegneria per l'Ambiente e il Territorio e Ingegneria Chimica"
con il valore che desideriamo interrogare nella rubrica di ateneo. Dopodichè:
python uniphonescraper.py
se volessimo possiamo anche evitare di modificare il file uniphonescraper.py indicando al comando
la struttura che desideriamo estrarre
python uniphonescraper.py ["Nome della struttura tra virgolette"]
esempio:
python uniphonescraper.py "Centro Linguistico di Ateneo"
questo comando stampa a schermo in formato CSV (estraendolo da JSON) il risultato. UniPhoneScraper funziona con due classi, facilmente
estendibili ed integrabili in progetti terzi.
Fin quando la struttura dell' html della
rubrica di http://www.unical.it rimarrà invariata la procedura funzionerà a dovere.