We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e6ec0c + fb79d36 commit f99bb4dCopy full SHA for f99bb4d
colly.go
@@ -1013,8 +1013,8 @@ func (c *Collector) OnError(f ErrorCallback) {
1013
c.lock.Unlock()
1014
}
1015
1016
-// OnScraped registers a function. Function will be executed after
1017
-// OnHTML, as a final part of the scraping.
+// OnScraped registers a function that will be executed as the final part of
+// the scraping, after OnHTML and OnXML have finished.
1018
func (c *Collector) OnScraped(f ScrapedCallback) {
1019
c.lock.Lock()
1020
if c.scrapedCallbacks == nil {
0 commit comments