Scrape all videos, shorts, channels, playlists... from YouTube search results. Work like you are searching on YouTube website. Return all information on the screen.
List of Youtube search query. Work like you type in the Youtube search box.
Type:array
Max pages per query
maxPagesPerQuery
Optional
The maximum number of search result pages crawled for each search query or URL.
Type:integer
Minimum:1
Country
countryCode
Optional
This param is for the Country (e.g. es for Spain). The values must be lower-cased ISO 3166 country codes supported by Google. By default, the actor uses United States (us).
Notice: To get Google Shopping results from a location, please use UULE code. If you choose countryCode as es without setting locationUule, you will get the results from United States(default search location). To get results from Spain, you need to set locationUule to w+CAIQICIFU3BhaW4=
Language for the search results, which is passed to Google Search as the hl URL query parameter. Only set this if you want to use a non-default language for the selected country. The values must be lower-cased ISO 639 language codes supported by Google.
Filter search results by Update Date, Type, Duration, Features, Sort By. Work like you choose in the Youtube search filter. This is the sp URL query parameter. For example to filter by Upload Date: This month</code, Type: Video, Features: 4K, Sort By: Relevance, Youtube will give you the URL: https://www.youtube.com/results?search_query=iphone&sp=EgYIBBABcAE%253D. You can copy the sp value EgYIBBABcAE%253D and paste it here.