Skip to content

Commit

Permalink
add new images, exclude markets not open in 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
joergreichert committed Nov 22, 2024
1 parent 6e132ce commit 956ffee
Show file tree
Hide file tree
Showing 19 changed files with 97 additions and 895 deletions.
Binary file added public/images/cafelux.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/emmauskirche.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/erikas_eiscafe.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/friedenskirche_gohlis.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/gutshof_stoetteritz.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/kulturhaus_eutritzsch.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/mala.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/moritzbastei.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/muehlstrasse14.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/neustaedter_markt.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/ostwache.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/schoenefelder_schloss.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/tvclubleipzig.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/zaubergarten.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 14 additions & 30 deletions public/markets.csv

Large diffs are not rendered by default.

44 changes: 14 additions & 30 deletions scraper/markets.csv

Large diffs are not rendered by default.

829 changes: 30 additions & 799 deletions scraper/markets.geojson

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion scraper/markets_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,10 @@ const readToiletsInner = () => {
const registry = {
LeipzigLeben: () => parseLeipzigLeben(),
MarketsWmf: () => {
parseJson("./markets_wmf.json").then((data) => {
parseJson("./markets_wmf.json").then((data_unfiltered) => {
const data = data_unfiltered.filter((entry) =>
!(entry.von.indexOf(".22") > 0 || entry.von.indexOf(".23") > 0)
);
const csvContent = jsonToCsv(data);
fs.writeFile("markets.csv", csvContent, (err) => {
if (err) throw err;
Expand Down
70 changes: 35 additions & 35 deletions scraper/markets_wmf.json
Original file line number Diff line number Diff line change
Expand Up @@ -661,8 +661,8 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "gutshof_stoetteritz.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 4 bis 'Leipzig, Weiße Str.'",
"train_distance": 451,
"short_distance": 0
Expand Down Expand Up @@ -938,8 +938,8 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "schoenefelder_schloss.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "S4 oder Straßenbahn 1 oder 3 bis 'Leipzig, Rathaus Schönefeld'",
"train_distance": 262,
"short_distance": 1,
Expand Down Expand Up @@ -1490,8 +1490,8 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "muehlstrasse14.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 15 bis 'Leipzig, Ostplatz'",
"train_distance": 453,
"short_distance": 0,
Expand Down Expand Up @@ -1664,8 +1664,8 @@
"shortname": "Mädler-Villa",
"strasse": "Hans-Driesch-Straße 2",
"plz_ort": "04179 Leipzig",
"von": "15.12.24",
"bis": "17.12.24",
"von": "08.12.23",
"bis": "17.12.23",
"veranstalter": "Mädler-Villa",
"oeffnungszeiten": "12:00-20:00",
"email": null,
Expand All @@ -1682,9 +1682,9 @@
"Fr": "15:00-20:00",
"Sa": "12:00-20:00",
"So": "12:00-18:00",
"closed-exc": 0,
"closed-exc-readable": null,
"hours-exc": "15.12.24=15:00-20:00,17.12.24=12:00-18:00",
"closed-exc": "11.12.23,12.12.23,13.12.23,14.12.23",
"closed-exc-readable": "Montag bis Donnerstag",
"hours-exc": "08.12.23=15:00-20:00,10.12.23=12:00-18:00,15.12.23=15:00-20:00,17.12.23=12:00-18:00",
"hours-exc-readable": "freitags 15 bis 20 Uhr, sonntags 12 bis 18 Uhr",
"ignore": 0,
"merged": null,
Expand Down Expand Up @@ -2090,8 +2090,8 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "ostwache.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 7 bis 'Edlichstr'",
"train_distance": 996,
"short_distance": 0,
Expand Down Expand Up @@ -2131,8 +2131,8 @@
"merged": null,
"international": 1,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "moritzbastei.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 4, 7, 12, 15 bis 'Augustusplatz'",
"train_distance": 435,
"short_distance": 0
Expand Down Expand Up @@ -2171,8 +2171,8 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "tvclubleipzig.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 11 oder 16 bis 'Wilhelminenstr.'",
"train_distance": 262,
"short_distance": 1
Expand Down Expand Up @@ -2211,9 +2211,9 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"train": "Straßenbahn 16 bis 'Eutritzscher Markt'",
"image": "kulturhaus_eutritzsch.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 16 bis 'Mosenthinstr.'",
"train_distance": 527,
"short_distance": 0
},
Expand Down Expand Up @@ -2410,8 +2410,8 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "friedenskirche_gohlis.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 4 bis 'Fritz-Seger-Str.'",
"train_distance": 434,
"short_distance": 0,
Expand Down Expand Up @@ -3015,8 +3015,8 @@
"merged": null,
"international": 0,
"action": 1,
"image": null,
"urheberschaft": null,
"image": "emmauskirche.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 7 bis 'Sellerhausen / Emmaustraße'",
"train_distance": 89,
"short_distance": 1
Expand Down Expand Up @@ -3095,8 +3095,8 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "neustaedter_markt.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 1, 3 oder 8 bis 'Hermann-Liebmann-/Eisenbahnstr.'",
"train_distance": 445,
"short_distance": 1,
Expand Down Expand Up @@ -3135,8 +3135,8 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "mala.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 1, 3 oder 8 bis 'Einertstraße'",
"train_distance": 473,
"short_distance": 1,
Expand Down Expand Up @@ -3175,9 +3175,9 @@
"merged": null,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"train": "Straßenbahn 4 bis 'Kolmstraße'",
"image": "zaubergarten.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 4 bis 'Holzhäuser Str.'",
"train_distance": 153,
"short_distance": 1,
"rss_beschreibung": ""
Expand Down Expand Up @@ -3671,8 +3671,8 @@
"merged": 0,
"international": 0,
"action": 0,
"image": null,
"urheberschaft": null,
"image": "erikas_eiscafe.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Straßenbahn 16 bis \"Leipzig, Eutritzscher Zentrum\"",
"train_distance": 494,
"short_distance": 0
Expand Down Expand Up @@ -3747,8 +3747,8 @@
"merged": 0,
"international": 0,
"action": 1,
"image": null,
"urheberschaft": null,
"image": "cafelux.jpg",
"urheberschaft": "Jörg Reichert, CC BY-SA 4.0",
"train": "Bus 72 Richtung Baalsdorf bis \"Leipzig, Martinstr.\"",
"train_distance": 224,
"short_distance": 1
Expand Down

0 comments on commit 956ffee

Please sign in to comment.