Methods
The following methods are available:
Scrape
// app.service.ts
import { ScrapingBeeService } from '@juicyllama/app-scrapingbee'
@Injectable()
export class AppService {
constructor(
@Inject(forwardRef(() => ScrapingBeeService)) private readonly scrapingBeeService: ScrapingBeeService,
) {}
async scrape() {
const data: ChatPostMessageArguments = {
url: 'https://example.com',
}
const result = await this.scrapingBeeService.scrape(data)
//do your thing with the result
}
}
ScrapingBee
The ScrapingBee app is a nestjs wrapper around ScraperBee. It provides a consistent interface for interacting with ScrapingBee within the confines of our framework.
Semrush
The Semrush app is a nestjs wrapper around Semrush. It provides a consistent interface for interacting with Semrush within the confines of our framework.