From c07413718302ff4d2d87bf27c9fdac1ecdcd9190 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Sat, 31 Jul 2010 10:43:58 -0500 Subject: [PATCH] Save images in "Large"-size rather than "Original"-size --- flickrtouchr.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/flickrtouchr.py b/flickrtouchr.py index 748cae3..b876b62 100755 --- a/flickrtouchr.py +++ b/flickrtouchr.py @@ -243,8 +243,8 @@ if __name__ == '__main__': url += "&per_page=500" pages = page = 1 - # Get Date-Taken and Original-size URL for each result photo - url += "&extras=date_taken,url_o" + # Get Date-Taken and Large-size URL for each result photo + url += "&extras=date_taken,url_l" while page <= pages: request = url + "&page=" + str(page) @@ -286,8 +286,8 @@ if __name__ == '__main__': # woo, we have it already, use a hard-link os.link(inodes[photoid], target) else: - # Get URL to the "Original" size of the photo - imgurl = photo.getAttribute("url_o") + # Get URL to the "Large" size of the photo + imgurl = photo.getAttribute("url_l") # Grab image and save to local file if imgurl: -- 2.45.2