articles(all_articles) File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 153, in extract_comments_from_articles comment_data['reactions'][reaction_type] = reaction_data.get('count', 0) ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'get' 2025-05-11 21:00:00,570 - dashboard_update - INFO - Starting dashboard data update 2025-05-11 21:00:00,570 - dashboard_update - INFO - Loading comment data from /home/josie/development/20min/data/comments 2025-05-11 21:00:00,571 - dashboard_update - INFO - Loaded 1 articles with comments 2025-05-11 21:00:00,571 - dashboard_update - ERROR - Error updating dashboard data: 'int' object has no attribute 'get' Traceback (most recent call last): File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 350, in success = update_dashboard_data() File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 317, in update_dashboard_data all_comments = extract_comments_from_articles(all_articles) File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 153, in extract_comments_from_articles comment_data['reactions'][reaction_type] = reaction_data.get('count', 0) ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'get' 2025-05-12 00:00:00,639 - dashboard_update - INFO - Starting dashboard data update 2025-05-12 00:00:00,639 - dashboard_update - INFO - Loading comment data from /home/josie/development/20min/data/comments 2025-05-12 00:00:00,640 - dashboard_update - INFO - Loaded 1 articles with comments 2025-05-12 00:00:00,641 - dashboard_update - ERROR - Error updating dashboard data: 'int' object has no attribute 'get' Traceback (most recent call last): File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 350, in success = update_dashboard_data() File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 317, in update_dashboard_data all_comments = extract_comments_from_articles(all_articles) File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 153, in extract_comments_from_articles comment_data['reactions'][reaction_type] = reaction_data.get('count', 0) ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'get' 2025-05-12 03:00:00,616 - dashboard_update - INFO - Starting dashboard data update 2025-05-12 03:00:00,617 - dashboard_update - INFO - Loading comment data from /home/josie/development/20min/data/comments 2025-05-12 03:00:00,618 - dashboard_update - INFO - Loaded 1 articles with comments 2025-05-12 03:00:00,618 - dashboard_update - ERROR - Error updating dashboard data: 'int' object has no attribute 'get' Traceback (most recent call last): File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 350, in success = update_dashboard_data() File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 317, in update_dashboard_data all_comments = extract_comments_from_articles(all_articles) File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 153, in extract_comments_from_articles comment_data['reactions'][reaction_type] = reaction_data.get('count', 0) ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'get' 2025-05-12 06:00:00,330 - dashboard_update - INFO - Starting dashboard data update 2025-05-12 06:00:00,330 - dashboard_update - INFO - Loading comment data from /home/josie/development/20min/data/comments 2025-05-12 06:00:00,331 - dashboard_update - INFO - Loaded 1 articles with comments 2025-05-12 06:00:00,331 - dashboard_update - ERROR - Error updating dashboard data: 'int' object has no attribute 'get' Traceback (most recent call last): File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 350, in success = update_articles(all_articles) File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 153, in extract_comments_from_articles comment_data['reactions'][reaction_type] = reaction_data.get('count', 0) ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'get' 2025-05-11 21:00:00,570 - dashboard_update - INFO - Starting dashboard data update 2025-05-11 21:00:00,570 - dashboard_update - INFO - Loading comment data from /home/josie/development/20min/data/comments 2025-05-11 21:00:00,571 - dashboard_update - INFO - Loaded 1 articles with comments 2025-05-11 21:00:00,571 - dashboard_update - ERROR - Error updating dashboard data: 'int' object has no attribute 'get' Traceback (most recent call last): File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 350, in success = update_dashboard_data() File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 317, in update_dashboard_data all_comments = extract_comments_from_articles(all_articles) File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 153, in extract_comments_from_articles comment_data['reactions'][reaction_type] = reaction_data.get('count', 0) ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'get' 2025-05-12 00:00:00,639 - dashboard_update - INFO - Starting dashboard data update 2025-05-12 00:00:00,639 - dashboard_update - INFO - Loading comment data from /home/josie/development/20min/data/comments 2025-05-12 00:00:00,640 - dashboard_update - INFO - Loaded 1 articles with comments 2025-05-12 00:00:00,641 - dashboard_update - ERROR - Error updating dashboard data: 'int' object has no attribute 'get' Traceback (most recent call last): File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 350, in success = update_dashboard_data() File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 317, in update_dashboard_data all_comments = extract_comments_from_articles(all_articles) File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 153, in extract_comments_from_articles comment_data['reactions'][reaction_type] = reaction_data.get('count', 0) ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'get' 2025-05-12 03:00:00,616 - dashboard_update - INFO - Starting dashboard data update 2025-05-12 03:00:00,617 - dashboard_update - INFO - Loading comment data from /home/josie/development/20min/data/comments 2025-05-12 03:00:00,618 - dashboard_update - INFO - Loaded 1 articles with comments 2025-05-12 03:00:00,618 - dashboard_update - ERROR - Error updating dashboard data: 'int' object has no attribute 'get' Traceback (most recent call last): File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 350, in success = update_dashboard_data() File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 317, in update_dashboard_data all_comments = extract_comments_from_articles(all_articles) File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 153, in extract_comments_from_articles comment_data['reactions'][reaction_type] = reaction_data.get('count', 0) ^^^^^^^^^^^^^^^^^ AttributeError: 'int' object has no attribute 'get' 2025-05-12 06:00:00,330 - dashboard_update - INFO - Starting dashboard data update 2025-05-12 06:00:00,330 - dashboard_update - INFO - Loading comment data from /home/josie/development/20min/data/comments 2025-05-12 06:00:00,331 - dashboard_update - INFO - Loaded 1 articles with comments 2025-05-12 06:00:00,331 - dashboard_update - ERROR - Error updating dashboard data: 'int' object has no attribute 'get' Traceback (most recent call last): File "/home/josie/development/20min/dashboard/update_dashboard_data.py", line 350, in success = update_------------------------------------ Comment #3: Author: stue22 Posted: 2025-05-09 22:46:21 Text: Alles besser als die eu. Das sind die schlimsten Reactions: 3 awesome, 7 bad, 86 nonsense, 4 unnecessary, 1 smart, 69 exact Replies: 0 -------------------------------------------------- Comment #4: Author: Thomas34 Posted: 2025-05-10 00:04:53 Text: Wir sollten Härte und Rückgrat zeigen und uns nicht erpressen lassen. Sollen sie halt auf unsere Produkte verzichten. Reactions: 4 awesome, 0 bad, 48 nonsense, 14 unnecessary, 1 smart, 80 exact Replies: 1 Replies: Reply by TightEnd on 2025-05-10 00:30:44: @Thomas34 Hmmmm. Sehr kurzsichtig, vor allem vor dem Hintergrund dass die Schweiz einen positiven Saldo gegenüber den USA von 35 Mrd. CHF hat und damit das mit Abstand wichtigste Einzelexportland ist. Erklären sie das dann den Arbeitnehmern die wegen ihrer Meinung dann ihre Arbeitsplätze verlieren? Reactions: 18 nonsense, 70 exact, 3 smart, 2 unnecessary, 3 awesome -------------------------------------------------- Comment #5: Author: Duke_CH88 Posted: 2025-05-09 21:25:31 Text: Wer hats gemerkt? Die EU bzw EU-Staaten tauchen voerst nicht auf. Wir können auch ohne diesen Pleitenverein ein Handelsabkommen mit den USA auf die Beine stellen und trotzdem in EU-Länder exportieren. Reactions: 2 awesome, 7 bad, 46 nonsense, 5 unnecessary, 4 smart, 77 exact Replies: 3 Replies: Reply by Whity51- on 2025-05-09 21:31:29: @Duke_CH88 ganz richtig Reactions: 18 nonsense, 26 exact, 1 bad, 1 smart Reply by H.S.Johnson on 2025-05-09 22:57:33: @Donald_der_Müllmann Warum muss in deinen Augen die EU immer involviert sein? Reactions: 12 awesome, 5 nonsense, 1 exact, 1 smart Reply by Donald_der_Müllmann on 2025-05-10 00:18:58: @H.S.Johnson Wer davon redet, die EU sei ein Pleiteverein, hat keine Ahnung was Sache ist und plappert einfach was nach. Kann übeigens ganz einfach nachgeprüft werden, wenn man von Wirtschaft nur ein wenig Ahnung hat. Reactions: 11 nonsense, 12 exact -------------------------------------------------- ... and 47 more comments. Total reactions across all comments and replies: awesome: 585 bad: 122 nonsense: 1496 unnecessary: 367 smart: 239 exact: 3062 2025-05-11 16:00:00,908 - INFO - Fetching comments from multiple sample articles 2025-05-11 16:00:00,908 - INFO - Fetching comments for article ID: 103339848 2025-05-11 16:00:00,908 - INFO - Requesting comments from: https://api.20min.ch/comment/v1/comments 2025-05-11 16:00:01,014 - INFO - Successfully fetched 52 comments 2025-05-11 16:00:01,016 - INFO - Comments data saved to data/comments/article_103339848.json 2025-05-11 16:00:02,017 - INFO - Fetching comments for article ID: 103340111 2025-05-11 16:00:02,017 - INFO - Requesting comments from: https://api.20min.ch/comment/v1/comments 2025-05-11 16:00:02,097 - ERROR - Failed to fetch comments: 404 - {"message":"Not found"} 2025-05-11 16:00:02,097 - ERROR - Failed to fetch comments for article ID: 103340111 2025-05-11 16:00:03,097 - INFO - Fetching comments for article ID: 103339982 2025-05-11 16:00:03,097 - INFO - Requesting comments from: https://api.20min.ch/comment/v1/comments 2025-05-11 16:00:06,149 - ERROR - Failed to fetch comments: 500 - {"message":"Internal Server Error"} 2025-05-11 16:00:06,149 - ERROR - Failed to fetch comments for article ID: 103339982 2025-05-11 16:00:07,149 - INFO - Successfully processed 1 out of 3 articles Found 52 comments. Commenting is disabled. -------------------------------------------------- Comment #1: Author: Laocoon Posted: 2025-05-10 01:17:11 Text: Die Schweiz macht es nicht schlecht! (Dank an FDP und SVP) Können von Glück reden, nicht der EU anzugehören. Reactions: 34 awesome, 10 bad, 232 nonsense, 12 unnecessary, 9 smart, 594 exact Replies: 0 -------------------------------------------------- Comment #2: Author: Der_Die_Das_ECHTE Posted: 2025-05-10 00:18:25 Text: Stark gemacht von der FDP-Bundesrätin und vom SVP Bundesrat! 👍 Reactions: 6 awesome, 1 bad, 55 nonsense, 4 unnecessary, 1 smart, 116 exact Replies: 1 Replies: Reply by Der_Die_Das_