Skip to content

Commit

Permalink
Detector-Competition-Fix: Fix ScraperSite (deprecated) (#2074)
Browse files Browse the repository at this point in the history
Co-authored-by: āh̳̕med <[email protected]>
  • Loading branch information
lc and 0x1 authored Nov 3, 2023
1 parent 41e9cc5 commit 3b9ecaa
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 237 deletions.
89 changes: 0 additions & 89 deletions pkg/detectors/scrapersite/scrapersite.go

This file was deleted.

120 changes: 0 additions & 120 deletions pkg/detectors/scrapersite/scrapersite_test.go

This file was deleted.

2 changes: 0 additions & 2 deletions pkg/engine/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,6 @@ import (
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/scrapeowl"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/scraperapi"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/scraperbox"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/scrapersite"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/scrapestack"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/scrapfly"
"github.com/trufflesecurity/trufflehog/v3/pkg/detectors/scrapingant"
Expand Down Expand Up @@ -1315,7 +1314,6 @@ func DefaultDetectors() []detectors.Detector {
zenkitapi.Scanner{},
sherpadesk.Scanner{},
shotstack.Scanner{},
scrapersite.Scanner{},
luno.Scanner{},
apacta.Scanner{},
fmfw.Scanner{},
Expand Down
51 changes: 26 additions & 25 deletions pkg/pb/detectorspb/detectors.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/detectors.proto
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ enum DetectorType {
Meistertask = 656;
Mindmeister = 657;
PeopleDataLabs = 658;
ScraperSite = 659;
ScraperSite = 659 [deprecated = true];
Scrapfly = 660;
SimplyNoted = 661;
TravelPayouts = 662;
Expand Down

0 comments on commit 3b9ecaa

Please sign in to comment.