nelsonic / github-scraper

🕷 🕸 crawl GitHub web pages for insights we can't GET from the API ... 💡
432 stars 96 forks source link

Getting email (if available) from list of followers for a thank you msg #89

Closed Rob-Rychs closed 6 years ago

Rob-Rychs commented 6 years ago

Hey @nelsonic,

Since github api no longer sends out events on new follows I was trying to get emails from my list of followers but it doesn't seem to be working... it probably thinks I'm up to no good

data.email    = $('.u-email').text(); // this comes out blank
data.email    = $('.u-email').attr('href'); // this comes out undefined
data.email    = $('.octicon-email').parent().text(); // this comes out blank

I suppose this is obfuscated somehow? Any work-arounds that you know of? Not asking for use in spaming Regards

nelsonic commented 6 years ago

@Rob-Rychs indeed, GitHub no longer makes email addresses public on people's profiles. Sadly, you're out-of-luck. 😞 There is a way to get a person's email address via the API but it requires Auth. 👍

Rob-Rychs commented 6 years ago

Thanks I'll take a look at API