Commit Graph

226 Commits

Author SHA1 Message Date
Mauricio Colli f787b375e5
Created gradle module and moved existing code to new one 2018-03-14 00:44:02 -03:00
Mauricio Colli 94e24a6e1c
Remove RunWith from tests
- It was causing tests to repeat
2018-03-13 23:50:57 -03:00
Mauricio Colli d71a42d6cd
Ignore some tests due to some recent changes 2018-03-13 23:43:13 -03:00
Mauricio Colli 37f2e5cfda
Make some methods return the specific InfoItem type
- Some methods were returning a broader range of InfoItem types than it should be. For example, a ChannelInfo should return a List containing only StreamInfoItem, instead of the more general InfoItem.
- Renamed and changed return type of ListExtractor.getInfoItems to getInitialPage returning a InfoItemsPage, to be consistent with getPage(url)
2018-03-13 23:32:31 -03:00
Mauricio Colli 5dd2daad37 Finish transition to use getters on Info classes
- Renamed Collector method
2018-03-13 23:28:58 -03:00
Mauricio Colli 6c07b7851b Fix Java 7 incompatibility 2018-03-13 23:25:23 -03:00
Mauricio Colli 29afd0c29c Fix some bugs discovered by the new tests 2018-03-13 23:25:23 -03:00
Mauricio Colli d9cf1fd631 Improve Channel and Playlist tests 2018-03-13 23:25:23 -03:00
Mauricio Colli 11216f361f Fix bug and some re-structure 2018-03-13 23:24:51 -03:00
Christian Schabesberger 5e34556ac3 removed more nextStreams keywords 2018-03-13 23:24:51 -03:00
Christian Schabesberger dc0ef3b89a remove unused ExtractionExceptions 2018-03-13 23:24:51 -03:00
Christian Schabesberger d812a114c5 made getPage() function be stand alone 2018-03-13 23:24:51 -03:00
Mauricio Colli 4366b7321f
Fail-fast in case of unsuccessful tests 2018-03-13 23:16:55 -03:00
Christian Schabesberger fce324d1bc fix playlist banner foo 2018-03-12 16:14:33 +01:00
Christian Schabesberger b1130629bb
Merge pull request #73 from karyogamy/live
HLS Livestream Extraction
2018-03-06 19:39:18 +01:00
John Zhen Mo cc3f3b8292 -Fixed Youtube page extraction on flagged / offensive content urls.
-Added test for flagged content url extraction.
2018-03-01 16:44:15 -08:00
John Zhen Mo b4206479cb -Fixed Youtube page extraction on flagged / offensive content urls. 2018-03-01 16:31:36 -08:00
John Zhen Mo 4cf4ee394f -Fixed youtube stream type to no longer return none.
-Fixed search result errors on empty.
2018-02-27 18:16:29 -08:00
John Zhen Mo 837dbd6b86 -Fixed live stream info using video stream type. 2018-02-25 14:31:42 -08:00
John Zhen Mo 690f241357 -Added hls manifest url extraction.
-Changed manifest url fields to nonnull.
2018-02-25 13:03:51 -08:00
John Zhen Mo e851c12230 -Removed live stream exceptions 2018-02-25 12:34:09 -08:00
Christian Schabesberger 86db415b18 architecture refacturing 2018-02-24 22:20:50 +01:00
Mauricio Colli 9dfcb3be06 Implement SubscriptionExtractor for services
- YouTube supports extracting from an export (from subscriptions manager)
- SoundCloud supports extracting the "followings" from an user
2018-02-22 11:52:38 -03:00
Christian Schabesberger a99f466c28
Merge pull request #72 from wb9688/extractor-to-parsing
Move SoundcloudExtractorHelper methods to SoundcloudParsingHelper
2018-02-21 10:45:21 +01:00
wb9688 c08cef9331 Move SoundcloudExtractorHelper methods to SoundcloudParsingHelper 2018-02-21 09:23:57 +01:00
Christian Schabesberger 7716b14378
Merge pull request #70 from wb9688/fix-okhttp
Fix OkHttp
2018-02-20 13:46:00 +01:00
wb9688 4ac70e6966 Fix OkHttp 2018-02-15 14:23:45 +01:00
Christian Schabesberger 232b8699d6 add contribution notes to extractor 2018-02-12 20:34:24 +01:00
Christian Schabesberger e51bc58a85 fix compatibility issue 2018-02-12 20:23:43 +01:00
Christian Schabesberger 09aca7cf90
Merge pull request #68 from TeamNewPipe/hook
add support for hooktube links
2018-02-12 20:06:06 +01:00
Christian Schabesberger 055cc41834 add support for hooktube links
fix some links
2018-02-12 20:04:55 +01:00
Mauricio Colli f3865445f5 Improve ServiceList class
- [Minor] Fix wrong arguments order in KioskInfo
2018-02-10 00:46:05 -02:00
Mauricio Colli 42411099db Revert and fix Idea's IML file 2018-02-10 00:37:40 -02:00
Mauricio Colli 4fb49d54b5
Merge pull request #66 from karyogamy/subtitles_fix
Subtitles Extraction NPE Fix
2018-02-09 00:42:25 -02:00
John Zhen Mo ccc8cde80e -Fix subtitles extraction NPE on certain video that contains no caption info.
-Moved subtitles to optional data extraction.
2018-02-06 10:45:58 -08:00
John Zhen Mo 7fd21ec085 -Modified subtitles to use locale rather than language code.
-Fixed locale parsing for youtube.
2018-02-03 13:53:03 -08:00
John Zhen Mo 02dd281395 -Added display name to subtitles that resolves language code into locale. 2018-02-03 13:28:28 -08:00
John Zhen Mo 502fd53cc4 -Refactored subtitle storing to reduce redundancy. 2018-02-01 23:24:22 -08:00
John Zhen Mo c1cfb2b223 -Fixed url format property.
-Removed unused code.
2018-02-01 23:03:06 -08:00
John Zhen Mo 5b79ef3557 -Fixed extraction to only output manual and autogenerated scripts, omitting autotranslated scripts. 2018-02-01 22:51:53 -08:00
John Zhen Mo aafe543334 -Removed new method in favor of current method.
-Fixed current method to output all available captions.
-Fixed tests.
2018-02-01 21:48:34 -08:00
John Zhen Mo b3699cdcfc -Fixed tests
-Simplified subtitle extraction url
2018-02-01 19:07:57 -08:00
John Zhen Mo 1f1bbaad57 -Fixed subtitles extraction to use method from youtube-dl.
-Expose subtitles during extraction.
-Make subtitle lists return nonnull empty collections instead of null.
2018-02-01 13:27:22 -08:00
Mauricio Colli 0061131d39
Merge pull request #60 from wb9688/fix-m
Fix mobile SoundCloud links
2018-01-21 05:11:30 -02:00
wb9688 6453805288 Fix mobile SoundCloud links 2018-01-20 18:48:15 +01:00
Christian Schabesberger 1c97da8b51 roleback fix warning of generics (broke frontend compartiblity
actual fix

another actual fix
2018-01-20 15:45:49 +01:00
Mauricio Colli 179c38c619
Merge pull request #59 from coffeemakr/bugfix-test-urls-and-relative-fix
Add more tests and fix 2 bugs
2018-01-15 11:31:44 -02:00
Coffeemakr 978a33fae2
Use 'abs:' prefix 2018-01-15 12:33:09 +01:00
Mauricio Colli a75137be2e Remove unnecessary check 2018-01-13 17:26:11 -02:00
Mauricio Colli a693c0d61d Fix getNextStreams from Youtube's channel extractor 2018-01-13 17:09:31 -02:00