summary refs log tree commit diff stats
path: root/mailinglist/downloader.py
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-01 12:57:38 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-01 12:57:38 +0000
commitcddf7dfa5a6e92a9057e7f6afae5d9b970585e6f (patch)
tree7cdb827588e9aa46fd430aea857de5db3621e38f /mailinglist/downloader.py
parentb372f5a5601734a150a32651c507a1e9ead575a5 (diff)
downloademulator-bug-study-cddf7dfa5a6e92a9057e7f6afae5d9b970585e6f.tar.gz
emulator-bug-study-cddf7dfa5a6e92a9057e7f6afae5d9b970585e6f.zip
change mail-ids
Diffstat (limited to 'mailinglist/downloader.py')
-rwxr-xr-xmailinglist/downloader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailinglist/downloader.py b/mailinglist/downloader.py
index ebe4d2d7..12673e7c 100755
--- a/mailinglist/downloader.py
+++ b/mailinglist/downloader.py
@@ -63,13 +63,13 @@ def main():
             # existing thread
             re_match = match(r'(?i)^re:\s*(.*)', text) # matches 'Re:'
             if re_match:
-                title_hash = str(hash(re_match.group(1).strip()))[1:8]
+                title_hash = str(hash(re_match.group(1).strip()))[1:9]
                 if path.exists(f"output_mailinglist/{title_hash}"):
                     process_thread(urljoin(url, href), title_hash)
                 continue
 
             # new thread
-            title_hash = str(hash(text.strip()))[1:8]
+            title_hash = str(hash(text.strip()))[1:9]
             if path.exists(f"output_mailinglist/{title_hash}"):
                 print(f"ERROR: {title_hash} should not exist!")
                 continue