This function handles the extraction of search results from DuckDuckGo.

.process_duckduckgo(
  search_term,
  num_pages,
  time_filter,
  insite,
  intitle,
  combined_pattern
)

Arguments

search_term

The search query.

num_pages

Number of result pages to retrieve.

time_filter

Optional time filter ("week", "month", "year").

insite

Restrict search to a specific domain.

intitle

Search within the title.

combined_pattern

A pattern for filtering out irrelevant URLs.

Value

A `data.table` of search results from DuckDuckGo.