2 ms·
i'm getting this: YahooGroups-Archiver master python archive_group.py tns98 Archiving group 'tns98', mode: update , on Wed Oct 16 20:01:04 2019 Tracebac
by swyx 7y ago
i'm getting this:
YahooGroups-Archiver master python archive_group.py tns98
Archiving group 'tns98', mode: update , on Wed Oct 16 20:01:04 2019
Traceback (most recent call last):
File "archive_group.py", line 143, in <module>
archive_group(sys.argv[1])
File "archive_group.py", line 67, in archive_group
max = group_messages_max(groupName)
File "archive_group.py", line 89, in group_messages_max
return pageJson["ygData"]["totalRecords"]
UnboundLocalError: local variable 'pageJson' referenced before assignment
but nobody else seems to be facing this issue?
- akovaski 7y agoI got this error when trying to archive a private group, see the README for how to archive private groups.
- swyx 7y agoah thanks, wish that was documented. thought it was public.
- raincom 7y agotns98 is a private group. " To archive a private group using this tool, login to a Yahoo account that has access to the private groups, then extract the data from the cookies Y and T from the domain yahoo.com . Paste this data into the appropriate variables (cookie_Y and cookie_T) at the top of this script, and run the script again."
- swyx 7y agothat was it, cheers. didnt realize it was private.