Parameter Description

Understand the scraping parameters of Thordata Web Scraper API.

General parameters:

Token: This parameter defines the API token used during scraping. It plays a decisive role in the success of your scraping. This is a universal parameter; no matter which scraping tool you choose, a Token parameter is required.

Parameter
Name
Function

token

Token

API token used for authentication during scraping

Product - Amazon Parameters :

URL: This parameter defines the Amazon product URLs to be scraped. We support up to 100 URLs.

Parameter
Name
Function

search_url

URL

Amazon product URLs to be scraped

Keywords: This parameter defines the keywords for searching Amazon products to scrape.

Parameter
Name
Function

q

Keyword

Amazon product keywords to be scraped

Product - YouTube Parameters :

URL: This parameter defines the URLs of YouTube videos to be scraped. We support up to 100 URLs.

Parameter
Name
Function

search_url

URL

YouTube video URLs to be scraped

Audio format: This parameter defines the output format of the scraped audio files. The default format is .opus.

Parameter
Name
Function
Parameter Value

audio_format

Audio Format

Defines the output format of the scraped audio file

audio_format=opus audio_format=mp3

Whether subtitles are needed: This parameter defines whether to also scrape subtitle files when scraping YouTube audio. The subtitle files are in .vtt format. Note that the downloaded results save audio and subtitles as two separate files.

Parameter
Name
Function
Parameter Value

is_subtitles

Subtitles

Defines whether subtitle files are required

is_subtitles=True is_subtitles=False

Subtitle language: This parameter defines the language of subtitles downloaded when scraping YouTube. If the chosen subtitle language is unavailable on YouTube, English will be returned by default.

Parameter
Name
Function
Parameter Value

subtitles_language

Subtitles Language

Defines the language of the subtitle file if required

subtitles_language=ab...

Subtitle language codes: Abkhazian ab, Afar aa, Afrikaans af, Akan ak, Albanian sq, Amharic am, Arabic ar, Armenian hy, Assamese as, Aymara ay, Azerbaijani az, Bengali bn, Bashkir ba, Basque eu, Belarusian be, Bhojpuri bho, Bosnian bs, Breton br, Bulgarian bg, Burmese my, Catalan ca, Cebuano ceb, Simplified Chinese zh-Hans, Traditional Chinese zh-Hant, Corsican co, Croatian hr, Czech cs, Danish da, Divehi dv, Dutch nl, Dzongkha (Bhutan) dz, English (original) en-orig, English en, Esperanto eo, Estonian et, Ewe ee, Faroese fo, Fijian fj, Filipino fil, Finnish fi, French fr, Ga gaa, Galician gl, Ganda lg, Georgian ka, German de, Greek el, Guarani gn, Gujarati gu, Haitian Creole ht, Hausa ha, Hawaiian haw, Hebrew iw, Hindi hi, Hmong hmn, Hungarian hu, Icelandic is, Igbo ig, Indonesian id, Inuktitut iu, Irish ga, Italian it, Japanese ja, Javanese jv, Greenlandic kl, Kannada kn, Kazakh kk, Khasi kha, Khmer km, Kinyarwanda rw, Korean ko, Krio kri, Kurdish ku, Kyrgyz ky, Lao lo, Latin la, Latvian lv, Lingala ln, Lithuanian lt, Luba-Katanga lua, Luo luo, Luxembourgish lb, Macedonian mk, Malagasy mg, Malay ms, Malayalam ml, Maltese mt, Manx gv, Maori mi, Marathi mr, Mongolian mn, Mauritian Creole mfe, Nepali ne, Newari new, Northern Sotho nso, Norwegian no, Nyanja ny, Occitan oc, Oriya or, Oromo om, Ossetic os, Pampanga pam, Pashto ps, Persian fa, Polish pl, Portuguese (Brazil) pt, Portuguese (Portugal) pt-PT, Punjabi pa, Quechua qu, Romanian ro, Rundi rn, Russian ru, Samoan sm, Sango sg, Sanskrit sa, Scottish Gaelic gd, Serbian sr, Seychelles Creole French crs, Shona sn, Sindhi sd, Sinhala si, Slovak sk, Slovenian sl, Somali so, Southern Sotho st, Spanish es, Sundanese su, Swahili sw.

Resolution: This parameter defines the resolution of the scraped video. If the exact quality or the selected resolution does not exist on YouTube, the default will be a lower quality option.

Parameter
Name
Function
Parameter Value

resolution

Resolution

Defines the resolution of the video to be scraped.

resolution=360p resolution=480p resolution=720p resolution=1080p resolution=1440p resolution=2160p

Need more help? Reach out to us at support@thordata.com.

Last updated

Was this helpful?