*wip* Support a class interface and add various features #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
moves search into a class interface
breaks down search into multiple functions so each section of search results can be accessed independently, currently supports following keys in search_query(query): "all, featured, videos, related", returns only data for that specific render type
-- defaults to always "all" if no render specified but can be specified with search_query(query, render="featured") for only featured listing
adds support for view count and published date
adds support for live video cards, streamed video cards
adds support for extraction of data using a page instead of results additionally to the normal search, currently supported pages: feed/trending, news, entertainment, music.
-- defaults to feed/trending when no page_type is specified in page_search()
adds support for setting a custom user agent and localization string when initializing class
Documentation and Examples WIP - will update this merge request on completion