Download main.py from Archy-Welcomer/Proxy-Scraper: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/spaces/Archy-Welcomer/Proxy-Scraper/resolve/main/main.py
- Command line
-
hf download hf://spaces/Archy-Welcomer/Proxy-Scraper/main.py
-
curl -L -o main.py https://huggingface.co/spaces/Archy-Welcomer/Proxy-Scraper/resolve/main/main.py
344 Bytes
| import logging | |
| import uvicorn | |
| logging.basicConfig( | |
| level=logging.INFO, | |
| format='%(asctime)s - %(name)s - %(levelname)s - %(message)s' | |
| ) | |
| logging.getLogger('uvicorn.access').setLevel(logging.WARNING) | |
| from router import app | |
| if __name__ == '__main__': | |
| uvicorn.run(app, host='0.0.0.0', port=7860, reload=False, access_log=False) |