Capability: TinySearch + TinyFetch
get_contents.
Common Mistakes
Passing every result to Fetch
Passing every result to Fetch
A single Fetch request accepts at most 10 URLs. A search page returns up to 10 results, but you usually only need the top few. Slice the list, as the samples above do.
Treating a failed page as a failed batch
Treating a failed page as a failed batch
Fetch returns a
results list and an errors list. A page that could not be fetched appears in errors while the others still come back, so check both.Related
TinyFetch
Extract page content from URLs
TinySearch API Reference
Every parameter, accepted value, and error code