summaryrefslogtreecommitdiff
path: root/app/links/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/links/build.py')
-rw-r--r--app/links/build.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/links/build.py b/app/links/build.py
index 392e991..cc57884 100644
--- a/app/links/build.py
+++ b/app/links/build.py
@@ -4,7 +4,7 @@ from django.urls import reverse
from . import models
-class BuildEssays(BuildNew):
+class BuildLinks(BuildNew):
def build(self):
self.build_list_view()
@@ -13,10 +13,10 @@ class BuildEssays(BuildNew):
#self.build_feed("src:feed")
def build_list_view(self):
- response = self.client.get('/essays/')
- self.write_file('essays/', response.content)
+ response = self.client.get('/linked/')
+ self.write_file('linked/', response.content)
-def essaybuilder():
- j = BuildEssays("essays", "essay")
+def linkbuilder():
+ j = BuildLinks("links", "link")
j.build()