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

[YouTube] Fix extraction of the Trending kiosk with the new data model returned #920

Merged
merged 1 commit into from
Sep 14, 2022

Commits on Sep 11, 2022

  1. [YouTube] Support new trending structure and filter recently trending…

    … section
    
    This new structure allow us to filter easily Trending shorts and Recently
    trending sections.
    
    On the previous one, this Recently trending section is now filtered, by
    checking whether sections have a title, which isn't the case for normal trends
    contrary to the other ones.
    
    This makes that the extractor returns now only the real 50 "Now" YouTube
    trends.
    
    Elements inside arrays are now extracted dynamically instead of only the ones
    of the first index, using Java 8's Stream API.
    
    The getInitialPage() method of YoutubeTrendingExtractor can now throw a
    ParsingException if no selected tab (corresponding to the one of the trends
    type extracted) has been found.
    
    Finally, the licence header has been moved to the top of the file and updated.
    AudricV committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    d8ddeb5 View commit details
    Browse the repository at this point in the history