-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Description
I'm using this simple bit of code in a spider of Substack accounts.
#!/usr/bin/env python
from substack_api import User
import sys
import ujson
user = User(sys.argv[1])
f = open(sys.argv[1] +".json",'w')
profile_data = user.get_raw_data()
f.write(ujson.dumps(profile_data))
f.close()
And it's not handling things that have been renamed. Here are a few examples:
150wordreviews => johndevore
15thcfeminist => 15thcenturyfeminist
300tangpoems => hyunwookimwriter
5thingsyoushouldbuy => beckymalinsky
This content is going to end up in an ArangoDB graph database, I'm focused on that for the moment. If this is still open this evening I'll have a go at fixing the API code myself.
Metadata
Metadata
Assignees
Labels
No labels