cdechoch commited on
Commit
4b68be7
·
verified ·
1 Parent(s): 595150c

Update bluesky_fetcher.py

Browse files
Files changed (1) hide show
  1. bluesky_fetcher.py +2 -1
bluesky_fetcher.py CHANGED
@@ -39,6 +39,7 @@ class BlueskyFetcher:
39
  "platform": "bluesky",
40
  "author_handle": author.get("handle", ""),
41
  "author_name": author.get("displayName", author.get("handle", "")),
 
42
  "text": record.get("text", ""),
43
  "created_at": record.get("createdAt", ""),
44
  "web_url": web_url
@@ -82,4 +83,4 @@ def load_handles_from_csv(filepath: str) -> List[str]:
82
  print(f"Loaded {len(handles)} handles from {filepath}")
83
  except Exception as e:
84
  print(f"Error loading CSV: {e}")
85
- return handles
 
39
  "platform": "bluesky",
40
  "author_handle": author.get("handle", ""),
41
  "author_name": author.get("displayName", author.get("handle", "")),
42
+ "author_avatar": author.get("avatar", ""),
43
  "text": record.get("text", ""),
44
  "created_at": record.get("createdAt", ""),
45
  "web_url": web_url
 
83
  print(f"Loaded {len(handles)} handles from {filepath}")
84
  except Exception as e:
85
  print(f"Error loading CSV: {e}")
86
+ return handles