Logo
Explore Help
Sign In
scip/kleingebaeck
1
0
Fork 0
You've already forked kleingebaeck
mirror of https://codeberg.org/scip/kleingebaeck.git synced 2025-12-16 12:01:00 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
kleingebaeck/t/httproot
History
Thomas von Dein 612ed2aa79 fix #74: warn if about to write to already visited ad, overwrite if -f
2024-02-10 14:44:09 +01:00
..
img
Fix #47: add mock http server for testing w/o hitting prod site
2024-01-22 18:43:44 +01:00
templates
fix #74: warn if about to write to already visited ad, overwrite if -f
2024-02-10 14:44:09 +01:00
README.md
Fix #47: add mock http server for testing w/o hitting prod site
2024-01-22 18:43:44 +01:00
serve.sh
Fix #47: add mock http server for testing w/o hitting prod site
2024-01-22 18:43:44 +01:00

README.md

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

Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 126ms Template: 12ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API