Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*wip* Support a class interface and add various features #1

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AIIX
Copy link

@AIIX AIIX commented Jul 31, 2020

  • 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

@JarbasAl JarbasAl marked this pull request as draft October 8, 2020 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants