smfetch 1.3.1__tar.gz → 1.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {smfetch-1.3.1 → smfetch-1.3.2}/PKG-INFO +1 -1
- {smfetch-1.3.1 → smfetch-1.3.2}/pyproject.toml +1 -1
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/app.py +8 -1
- {smfetch-1.3.1 → smfetch-1.3.2}/uv.lock +1 -1
- {smfetch-1.3.1 → smfetch-1.3.2}/.gitignore +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/Makefile +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/README.md +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/__init__.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/config.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/jobs.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/library.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/smonline.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/static/app.js +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/static/index.html +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/static/style.css +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/updates.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/smfetch/zenius.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/__init__.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/conftest.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/fixtures/category_1870.html +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/fixtures/latest_official.html +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/fixtures/latest_user.html +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/fixtures/simfile_63939.html +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/fixtures/simfile_70013.html +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/test_library.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/test_parsing.py +0 -0
- {smfetch-1.3.1 → smfetch-1.3.2}/tests/test_updates.py +0 -0
|
@@ -409,12 +409,19 @@ def main() -> None:
|
|
|
409
409
|
default=DEFAULT_PORT,
|
|
410
410
|
help=f"port for the web interface (default: {DEFAULT_PORT})",
|
|
411
411
|
)
|
|
412
|
+
parser.add_argument(
|
|
413
|
+
"-h",
|
|
414
|
+
"--host",
|
|
415
|
+
type=str,
|
|
416
|
+
default="0.0.0.0",
|
|
417
|
+
help="bind address",
|
|
418
|
+
)
|
|
412
419
|
args = parser.parse_args()
|
|
413
420
|
|
|
414
421
|
print(f"Starting smfetch on http://localhost:{args.port}")
|
|
415
422
|
uvicorn.run(
|
|
416
423
|
"smfetch.app:app",
|
|
417
|
-
host=
|
|
424
|
+
host=args.host,
|
|
418
425
|
port=args.port,
|
|
419
426
|
log_level="warning",
|
|
420
427
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|