Spaces:
Sleeping
Sleeping
Update linkedin_follower_stats.py
Browse files
linkedin_follower_stats.py
CHANGED
|
@@ -195,7 +195,7 @@ def fetch_monthly_follower_gains(session, org_urn, api_rest_base):
|
|
| 195 |
# )
|
| 196 |
# logging.info(f"Fetching monthly follower gains from URL: {url}")
|
| 197 |
|
| 198 |
-
|
| 199 |
# Replace with your LinkedIn organization URN
|
| 200 |
|
| 201 |
now = datetime.now()
|
|
|
|
| 195 |
# )
|
| 196 |
# logging.info(f"Fetching monthly follower gains from URL: {url}")
|
| 197 |
|
| 198 |
+
session.headers.update({'LinkedIn-Version': "202502"})
|
| 199 |
# Replace with your LinkedIn organization URN
|
| 200 |
|
| 201 |
now = datetime.now()
|