Closed miljukov-o closed 2 years ago
I'm tickled that this package is getting used, and scraping is a nice diversion, so I took a shot at it. Let me know if the new version fixes your problem?
I should have read your post more closely as I see ".Counter"
does work well as a node, indeed as a different structure than expected previously. I went with node "span.text-bold"
which also gets those two numbers.
We'll see how long this lasts before GitHub changes their page HTML 😁
Thanks a lot for this super quick fix. It works :)
Hi, I wanted to compare some packages via
package_list_metrics()
and got the error:After looking through the package codes, it seems the node
".social-count"
doesn't work here (anymore?). https://github.com/sfirke/packagemetrics/blob/9fb47b1043477ae7563dd8b580893706208e46ed/R/scrape_github_url.R#L72I also couldn't find the node in the html e.g. in https://github.com/dcomtois/summarytools. But when I use
".Counter"
as node, then I get the numbers, which are probably collected here, but probably in a different structure than suppused to, because the subsequent code throws the next errors.