Rochester Food Not Bombs recovers resources to create free vegetarian and vegan meals in our local
- community.
- We
- are a decentralized all-volunteer run group, with no hierarchy or formal leaders, making decisions based
- on
- consensus.
-
- We recognize poverty as a form of violence, and think access to food should be viewed as a right, rather
- than a
- privilege. In this practice, we strive to reduce waste by turning donated food into productive meals. We
- source
- food from vendors at the Public Market, as well as relying on donations. Food should be a source of
- nutrition
- for
- people, not profit under capitalism. Through Community organizing and outreach, we support other local
- and
- national peace and justice groups to create a broader sense of social responsibility -- If you would
- like to
- get
- involved, please reach out to us!
-
-
-
-
See what we're up to :-)
-
-
-
-
\ No newline at end of file
From d94e3a0c995508a271e6f6e5890b6d60ccc7a631 Mon Sep 17 00:00:00 2001
From: Nora Goodman
Date: Mon, 26 May 2025 18:36:11 -0400
Subject: [PATCH 2/5] Include scraper.py
---
.gitignore | 3 ++-
scraper/scraper.py | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 scraper/scraper.py
diff --git a/.gitignore b/.gitignore
index 43271eb..c01dab5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@ scraper/**
!scraper/*.py
.venv/
__pycache__/
-static/
\ No newline at end of file
+static/
+posts/
\ No newline at end of file
diff --git a/scraper/scraper.py b/scraper/scraper.py
new file mode 100644
index 0000000..ceb6d17
--- /dev/null
+++ b/scraper/scraper.py
@@ -0,0 +1,18 @@
+# wait between 1050 and 1150 seconds
+import instaloader
+from time import sleep
+from random import randint
+from os import listdir
+
+L = instaloader.Instaloader()
+
+L.load_session_from_file("down.loader54321")
+
+profile_of_interest = instaloader.Profile.from_username(L.context, "rocfnb")
+files = listdir('.')
+for post in profile_of_interest.get_posts():
+ if not post.shortcode in files :
+ L.download_post(post, target=post.shortcode)
+ sleep(randint(1050, 1150))
+ else:
+ print("Already downloaded " + post.shortcode +", skipping...")
\ No newline at end of file
From 82611c358fa3894f121897edd7e3e43c5c8f2773 Mon Sep 17 00:00:00 2001
From: Nora Goodman
Date: Tue, 27 May 2025 16:11:56 -0400
Subject: [PATCH 3/5] Update list of links
---
templates/index.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/templates/index.html b/templates/index.html
index 9400839..84fb92f 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -12,16 +12,16 @@ Solidarity not charity: From Rochester, New York.