From 5771ddf19d495a4f76032cf414f0b4c34c045494 Mon Sep 17 00:00:00 2001 From: Git-Forked <66106762+Git-Forked@users.noreply.github.com> Date: Fri, 15 Nov 2024 03:17:14 +0000 Subject: [PATCH] Update LOTRO_Weekly_Code.py --- LOTRO_Weekly_Code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LOTRO_Weekly_Code.py b/LOTRO_Weekly_Code.py index de09dd4..8bee5b7 100644 --- a/LOTRO_Weekly_Code.py +++ b/LOTRO_Weekly_Code.py @@ -7,7 +7,7 @@ urllib3.util.ssl_.DEFAULT_CIPHERS += 'HIGH:!DH:!aNULL' http = urllib3.PoolManager(cert_reqs='CERT_NONE') -r = http.request('GET', 'https://forums.lotro.com/index.php?forums/sales-and-promotions.8/&last_days=7&order=last_post_date&direction=dec') +r = http.request('GET', 'https://forums.lotro.com/index.php?forums/sales-and-promotions.8/&last_days=7&order=post_date&direction=desc') def str_between(string, start, end, occurrence): return (string.split(start))[occurrence].split(end)[0]