scaper-reports-options.ts 381 B

123456789101112131415
  1. import ScraperMethods from "../enums/scraper-methods"
  2. export interface IScraperReportsOptions {
  3. url: string
  4. reportsSelector: string
  5. dateSelector: string
  6. locationSelector: string
  7. depthSelector: string
  8. magnitudeSelector: string
  9. linkSelector: string
  10. locationImgSelector: string
  11. scraperMethod: ScraperMethods
  12. cacheExpiration?: number
  13. hashtags?: Array<string>
  14. };