Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: cui fliter <[email protected]>
  • Loading branch information
cuishuang authored and WGH- committed Jan 5, 2023
1 parent 947eeea commit 9a6de69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _examples/coursera_courses/coursera_courses.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func main() {
svgTitle := strings.Split(el.ChildText("div:nth-child(1) svg title"), " ")
lastWord := svgTitle[len(svgTitle)-1]
switch lastWord {
// svg Title: Available Langauges
// svg Title: Available Languages
case "languages":
course.Language = el.ChildText("div:nth-child(2) > div:nth-child(1)")
// svg Title: Mixed/Beginner/Intermediate/Advanced Level
Expand Down
2 changes: 1 addition & 1 deletion queue/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (q *Queue) loop(c *colly.Collector, requestc chan<- *colly.Request, complet
if size == 0 && active == 0 || !q.running {
// Terminate when
// 1. No active requests
// 2. Emtpy queue
// 2. Empty queue
errc <- nil
break
}
Expand Down

0 comments on commit 9a6de69

Please sign in to comment.