Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8783d40

Browse files
committed
bugfix
1 parent 5c788ec commit 8783d40

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

config/env.sample.ini

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ https_domain = xxx
7575
[crawl]
7676
spec = 0 0 */1 * * ?
7777
iframe_deny = github.com,robbinfan.com,www.zhihu.com,google.com,golang.org,evernote.com,blogspot.com
78-
reddit_path = /r/golang/new/
79-
project_url = http://www.oschina.net/project/lang/358/go?tag=0&os=0&sort=time
80-
article_title_pattern = (?i)go|golang|goroutine|channel
81-
preset_users = polaris
82-
preset_uids = 1
78+
reddit_path = xxx
79+
project_url = xxx
80+
article_title_pattern = xxx
81+
preset_users = xx
82+
preset_uids = x
8383

8484
[search]
8585
engine_url = http://127.0.0.1:7070/solr/studygolang

src/logic/project.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ func (ProjectLogic) ParseOneProject(projectUrl string) error {
345345
project.Licence = "其他"
346346
}
347347
} else if i == 1 {
348+
txt = liSelection.Find("span a:first-child").Text()
348349
project.Lang = txt
349350
} else if i == 2 {
350351
project.Os = txt

0 commit comments

Comments
 (0)