diff options
Diffstat (limited to 'app/gtd')
-rw-r--r-- | app/gtd/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/gtd/views.py b/app/gtd/views.py index e0381d2..709766e 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -351,7 +351,7 @@ class UpdateDateView(RedirectView): def get_redirect_url(self, *args, **kwargs): for post in WiredPost.objects.all(): if post.url: - content = requests.get(url) + content = requests.get(post.url) soup = BeautifulSoup(content.text, 'html.parser') time = datetime.strptime(soup.time['datetime'][:-6], "%Y-%m-%dT%H:%M:%S").date() if time != post.date_last_pub: |