-
Notifications
You must be signed in to change notification settings - Fork 425
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
Add Page class and remove getNextPageUrl() #314
Conversation
And Youtube Music Mix as well, I assume? |
@opusforlife2: I haven't looked into YouTube Music Mix, but probably, yes. Note that this PR will only make it possible to add support for Mix, not actually implement support for Mix. |
How about a method in the |
@XiangRongLin: I think |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed most of the files. Only tests and a few other extractors are missing. I'll review the rest tomorrow or on the weekend.
...java/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubeAccountExtractor.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some small things. I like the Page
structure and how it is used in SoundCloud ;-D
extractor/src/main/java/org/schabi/newpipe/extractor/ListExtractor.java
Outdated
Show resolved
Hide resolved
...ctor/src/main/java/org/schabi/newpipe/extractor/services/peertube/PeertubeParsingHelper.java
Show resolved
Hide resolved
...java/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubeChannelExtractor.java
Outdated
Show resolved
Hide resolved
.../java/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubeSearchExtractor.java
Outdated
Show resolved
Hide resolved
...ava/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubeTrendingExtractor.java
Show resolved
Hide resolved
...a/org/schabi/newpipe/extractor/services/soundcloud/extractors/SoundcloudChartsExtractor.java
Outdated
Show resolved
Hide resolved
...org/schabi/newpipe/extractor/services/soundcloud/extractors/SoundcloudCommentsExtractor.java
Show resolved
Hide resolved
.../java/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubeStreamExtractor.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't check that all of the variables you introduced are actually final, I only saw some ;-)
Btw, after these small things, this is ready to be merged
...java/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubeAccountExtractor.java
Show resolved
Hide resolved
.../java/org/schabi/newpipe/extractor/services/peertube/extractors/PeertubeStreamExtractor.java
Show resolved
Hide resolved
.../org/schabi/newpipe/extractor/services/soundcloud/extractors/SoundcloudChannelExtractor.java
Outdated
Show resolved
Hide resolved
.../org/schabi/newpipe/extractor/services/soundcloud/extractors/SoundcloudChannelExtractor.java
Outdated
Show resolved
Hide resolved
.../org/schabi/newpipe/extractor/services/soundcloud/extractors/SoundcloudChannelExtractor.java
Outdated
Show resolved
Hide resolved
.../org/schabi/newpipe/extractor/services/soundcloud/extractors/SoundcloudChannelExtractor.java
Outdated
Show resolved
Hide resolved
.../java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubePlaylistExtractor.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor stuff
Things I'll do in this PR:
getNextPageUrl()
fromListExtractor
Page
class to support URL, list of IDs (instead of the current workaround for SoundCloud), and cookies (for YouTube Mix)