PDF Scraper
Create and run a PDF scraper
This endpoint allows you to create and run a PDF scraper.
POST
/
api
/
scrapers
/
pdf
/
create-and-run
Authorizations
Authorization
string
headerrequiredYou can retrieve your token by visiting the API Tokens section inside your profile page or see https://docs.mrscraper.com/documentation/api-token for the details.
Body
application/json
name
string
requiredThe name of the scraping task.
keywords
object[]
requiredThe each keywords to search PDF files.
unique
boolean
Option to not include previously scraped PDF files.
expected_pdf
number
The total expected PDF files results. This will automatically add the alternative keywords needed to achieve the expected results.
Response
200 - application/json
message
string
scraper
object
results
any[]