-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch usernames from cs.com #6
Comments
Yeah, this would be fantastic! It's a real bummer files don't include at least names. I actually started implementing it when first working on this, but quickly gave up since it became kinda complicated. There's some code in https://github.com/simison/couchspinner/blob/6833f123a1f5fda8a057bd6af2bc8b6915511f9b/src/worker.js
Lastly, worth just writing CS folks if they would like to add names to export files. :-D It would be the right thing to do. |
Actually reading the code again, looks like name and image are always available in og-tags even for private profiles. So prolly not an issue. :-) |
I submitted a PR that does some downloading. It adds a 10s delay between requests. In my ~370 friends, I got 230 real profiles and ~140 copies of the CouchSurfing homepage. I just ran it as a script. The CORS issue would be a headache to do this client side for sure. 🤔 |
Linked to #5, the main thing I want to do programmatically is grab the CS profile links of all my friends, and those who still have profiles, capture something. Name, maybe picture, but whatever, something more useful than a useless ID.
This would make more sense as part of some kind of one-time export conversion script, rather than on every load of the data.
The text was updated successfully, but these errors were encountered: