File tree 1 file changed +1
-1
lines changed 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ export default class Github extends Component {
82
82
const href = $ ( item ) . find ( 'h1 a' ) . attr ( 'href' ) . replace ( / ( \n | \s ) / g, '' ) ;
83
83
const language = $ ( item ) . find ( 'span[itemprop=programmingLanguage]' ) . text ( ) . replace ( / ( \n | \s ) / g, '' ) ;
84
84
const languageColor = $ ( item ) . find ( 'span.repo-language-color' ) ;
85
- const stargazersCount = $ ( item ) . find ( 'span[aria-label="star"] svg[aria-label="star"].octicon.octicon-star' ) . parent ( ) . parent ( ) . text ( ) . replace ( / ( \n | \s | , ) / g, '' ) ;
85
+ const stargazersCount = $ ( item ) . find ( 'svg[aria-label="star"].octicon.octicon-star' ) . parent ( ) . text ( ) . replace ( / ( \n | \s | , ) / g, '' ) ;
86
86
const forked = $ ( item ) . find ( 'span[aria-label="fork"] svg.octicon.octicon-repo-forked' ) . parent ( ) . parent ( ) . text ( ) . replace ( / ( \n | \s | , ) / g, '' ) ;
87
87
const todayStar = $ ( item ) . find ( 'span.float-sm-right' ) . text ( ) . replace ( / ( \n | , ) / g, '' ) . trim ( ) ;
88
88
const description = $ ( item ) . find ( 'p.text-gray' ) . text ( ) . replace ( / ( \n ) / g, '' ) . trim ( ) ;
You can’t perform that action at this time.
0 commit comments