From c9c680cd6ab002dee42c1f0a555f557b151a116b Mon Sep 17 00:00:00 2001 From: Wesley Kerfoot Date: Sat, 31 Oct 2020 19:51:41 -0400 Subject: [PATCH] fix issue with year argument --- deletefb/tools/wall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deletefb/tools/wall.py b/deletefb/tools/wall.py index 6944f30..3b92b8a 100644 --- a/deletefb/tools/wall.py +++ b/deletefb/tools/wall.py @@ -22,7 +22,7 @@ def delete_posts(driver, """ if year is not None: - user_profile_url = "{0}/timeline?year={1}".format(user_profile_url, year) + user_profile_url = "{0}/?year={1}".format(force_mobile(user_profile_url), year) user_profile_url = force_mobile(user_profile_url)