Skip to content

Commit

Permalink
Update coursera_courses.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodolfo Rodriguez authored Dec 23, 2017
1 parent 4352e22 commit 85084fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _examples/coursera_courses/coursera_courses.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func main() {

// On every a element which has href attribute call callback
c.OnHTML("a[href]", func(e *colly.HTMLElement) {
// If attribute class of a is this long string return from callback
// If attribute class is this long string return from callback
// As this a is irrelevant
if e.Attr("class") == "Button_1qxkboh-o_O-primary_cv02ee-o_O-md_28awn8-o_O-primaryLink_109aggg" {
return
Expand Down

0 comments on commit 85084fd

Please sign in to comment.