Skip to content

Commit

Permalink
Merge pull request #73 from acochrane/regexpfix
Browse files Browse the repository at this point in the history
Fix regexpIsVideoPost
  • Loading branch information
huandu authored Sep 3, 2017
2 parents a3f39cb + 1e3483d commit e104ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion const.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var (
}

// checks whether it's a video post.
regexpIsVideoPost = regexp.MustCompile(`/^(\/)(.+)(\/)(videos)$/`)
regexpIsVideoPost = regexp.MustCompile(`\/videos$`)

// default facebook session.
defaultSession = &Session{}
Expand Down

0 comments on commit e104ea5

Please sign in to comment.