mattlisiv / newsapi-python

A Python Client for News API
MIT License
375 stars 130 forks source link

is_valid_string is too restrictive #82

Closed jonnymaserati closed 12 months ago

jonnymaserati commented 1 year ago

Describe the bug The API is able to handle multiple search terms or phrases if a list of strings is passed as the q arg.

e.g. if q = [google, "google ai"] is passed and parsed to the payload dict then it will return a successful result. However, the input check won't currently allow this, limiting functionality.