MCPcopy Index your code
hub / github.com/code4craft/webmagic / github.js

File github.js

webmagic-scripts/src/main/resources/js/github.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1var name=xpath("//h1[@class='entry-title public']/strong/a/text()")
2var readme=xpath("//div[@id='readme']/tidyText()")
3var star=xpath("//ul[@class='pagehead-actions']/li[1]//a[@class='social-count js-social-count']/text()")
4var fork=xpath("//ul[@class='pagehead-actions']/li[2]//a[@class='social-count']/text()")

Callers

nothing calls this directly

Calls 4

xpathFunction · 0.70
urlsFunction · 0.70
toStringMethod · 0.65
getUrlMethod · 0.45

Tested by

no test coverage detected