mirror of
https://codeberg.org/scip/kleingebaeck.git
synced 2025-12-17 04:21:00 +01:00
14 lines
340 B
Markdown
14 lines
340 B
Markdown
|
|
# Mock http server
|
||
|
|
|
||
|
|
Install ehfs from https://github.com/mjpclab/extra-http-file-server/.
|
||
|
|
|
||
|
|
Install p2cli from https://github.com/wrouesnel/p2cli.
|
||
|
|
|
||
|
|
Run `templates/render.sh` to build the file structure.
|
||
|
|
|
||
|
|
Run `server.sh` to start the http server.
|
||
|
|
|
||
|
|
To scrape an ad from it, use such a URL:
|
||
|
|
|
||
|
|
http://localhost:8080/s-anzeige/first-ad/111-11-111
|