Commit Graph

710 Commits

Author SHA1 Message Date
Connectety-W 1ab7a1f930
added tests for YoutubePlaylistLinkHandlerFactory 2019-01-27 12:00:23 +01:00
Connectety-L ec4aa9e0cd
added Invidio subdomain test and fixed error in test caused by Invidio playlist support 2019-01-27 02:12:12 +01:00
Connectety-L 10939efcce
added support playlists on Invidio 2019-01-27 01:44:46 +01:00
Connectety-L cce5e4ad33
added support and tests for Invidio Trending-URLs 2019-01-27 01:29:23 +01:00
Connectety-L 7493ed903b
split isYoutubeALikeURL into multiple methods 2019-01-27 01:28:51 +01:00
Christian Schabesberger cb51254aa3 return one null less 2019-01-26 22:55:34 +01:00
Christian Schabesberger 73232a7bad stream names may not contain dots 2019-01-26 17:47:58 +01:00
Christian Schabesberger 50a17afc05 fix issue with originalUrl 2019-01-26 17:47:58 +01:00
Christian Schabesberger cf3ea22753 make stream size have a p in the end 2019-01-26 17:47:58 +01:00
Christian Schabesberger 7fcb3f5790 fix crash when return null as a related streams collector 2019-01-26 17:47:58 +01:00
Christian Schabesberger 2148edc7d7 add channel and strem extractor for mediaccc 2019-01-26 17:47:58 +01:00
Christian Schabesberger ef576341c8 implement searchextractor for mediaccc 2019-01-26 15:22:16 +01:00
Connectety-L 2ede47d36c
added hooktube and invidio http test 2019-01-24 14:19:44 +01:00
Connectety-L 2ae23a6f79
added support for videos on invidio.us 2019-01-24 11:13:01 +01:00
Connectety-L 399b4f2eef
added support for "vnd.youtube.launch" URI-scheme 2019-01-24 10:53:03 +01:00
Connectety-L ae23059d66
added support for channels on invidio.us 2019-01-24 10:48:29 +01:00
Connectety-L 79ba6aba95
added tests from https://github.com/TeamNewPipe/NewPipeExtractor/pull/128 2019-01-24 10:27:01 +01:00
Connectety-W 19288c1456
added forgotten break statements 2019-01-20 14:39:06 +01:00
Christian Schabesberger 76a3742084
Merge branch 'master' into master 2019-01-20 14:34:16 +01:00
Connectety-W a6c972eff8
fixed tests by prepending HTTP to URLs without protocol and adding a check for null. 2019-01-20 01:31:30 +01:00
Ritvik Saraf c60d6ec0ab removed unused import 2019-01-19 18:20:02 +05:30
Ritvik Saraf 50c4783f71 fixed extracting hls url 2019-01-19 18:07:35 +05:30
Ritvik Saraf c4e502b9d2 Merge branch 'master' into peertube 2019-01-19 14:33:01 +05:30
Ritvik Saraf 25ed9deaf3 Merge remote-tracking branch 'upstream/master' 2019-01-19 14:28:12 +05:30
Christian Schabesberger 97d72590fc
Merge branch 'master' into master 2019-01-18 22:31:37 +01:00
Christian Schabesberger 99915e4527 fix failing tests 2019-01-18 12:44:34 +01:00
Christian Schabesberger 6776abdd55 Merge https://github.com/The-Twisted-Samurai/NewPipeExtractor 2019-01-18 12:25:20 +01:00
Christian Schabesberger 09bafe0660 fix failing viewcount test 2019-01-18 12:24:30 +01:00
Kunal Sareen b6790bbe6b Updating regex 2019-01-18 21:47:34 +11:00
Connectety 43ffeac023
Merge branch 'master' into master 2019-01-13 13:38:35 +01:00
Connectety-W 98f49852d7
refactored YouTube-linkHandler to use less regex and more URL-methods 2019-01-13 12:52:07 +01:00
Ritvik Saraf fade7bd749 getter for torrent url 2018-12-30 15:23:24 +05:30
Ritvik Saraf ef0ffb2229 added torrent url in streams 2018-12-30 15:00:57 +05:30
Ritvik Saraf b1a77fa484 update peertube instance 2018-12-29 22:23:35 +05:30
Ritvik Saraf a83342de0f update peertube instance 2018-12-29 21:58:43 +05:30
Ritvik Saraf b05fa45080 resolved review comments 2018-12-28 13:02:00 +05:30
Ritvik Saraf b2c6928459 added logic for fetching related streams 2018-12-26 14:29:23 +05:30
Ritvik Saraf bc82a53f2c replace base url 2018-12-26 13:07:06 +05:30
Ritvik Saraf 203c884d51 strip base url 2018-12-26 13:02:04 +05:30
Ritvik Saraf 14cd1dbcbb fixed kiosk by url 2018-12-26 12:50:43 +05:30
Ritvik Saraf 8755c25349 format date of comment published. changed default instance 2018-12-26 11:08:39 +05:30
Ritvik Saraf df0db8468d merged master 2018-12-25 19:12:22 +05:30
Ritvik Saraf c77050dc70 handle empty comments 2018-12-23 08:24:36 +05:30
Ritvik Saraf 9ad102df3f fixed fetching youtube client name 2018-12-23 08:24:36 +05:30
Ritvik Saraf 4c49a347f6 merged upstream/master 2018-12-04 21:20:26 +05:30
Christian Schabesberger 91b1efc97e add documentation of StreamingService 2018-11-10 10:50:13 +01:00
Christian Schabesberger a78ad16235 rebase correctly 2018-11-09 19:55:40 +01:00
kapodamy b40a1f3657 Delete Subtitles.java
change class name
2018-11-08 17:06:41 -03:00
kapodamy 388f4fd38b Delete SubtitlesFormat.java
merge into MediaFormat
2018-11-08 16:29:06 -03:00
kapodamy e4afb21862 make Subtitle object Stream compliant
* merge SubtitlesFormat into MediaFormat
* implement Stream interface on Subtitle class
* misc fixes: dont show a snackbar error on age-restricted videos, lint fix.
2018-11-08 16:29:05 -03:00
Christian Schabesberger 7129d6db55 add inline documentation for StreamExtractor 2018-11-07 18:28:44 +01:00
Christian Schabesberger 4de99ae28f add support for segmented streams 2018-11-06 14:24:47 +01:00
Christian Schabesberger 32d316330c fix broken search results 2018-10-25 15:46:47 +02:00
Ritvik Saraf f58c914e73 merge fix 2018-10-19 20:17:26 +05:30
Ritvik Saraf 05ef80c2eb Merge remote-tracking branch 'upstream/master' 2018-10-19 20:09:51 +05:30
Ritvik Saraf 99a0134b1c removed unchecked cast 2018-10-19 19:33:36 +05:30
Ritvik Saraf 4883b6fb48 return suggestion extractor 2018-10-12 13:04:51 +05:30
Ritvik Saraf 706d4271a6 empty suggestions for search 2018-10-12 12:45:09 +05:30
Ritvik Saraf c9fba9cb1e fallback avatar for channel 2018-10-12 02:27:32 +05:30
Ritvik Saraf 26da3088ba fallback avatar and description 2018-10-12 01:59:13 +05:30
Ritvik Saraf 9dee8d5fcd updated kiosk accept link 2018-10-12 01:37:47 +05:30
Ritvik Saraf 20f280cb57 added peertube extractor 2018-10-12 00:40:22 +05:30
Christian Schabesberger 24cb684e23 fix failing test 2018-10-06 17:11:12 +02:00
Christian Schabesberger 0920680708 fix search country for next page 2018-10-06 17:03:55 +02:00
Christian Schabesberger 0c3dc86b07 add support for yt content country 2018-10-06 12:22:37 +02:00
Christian Schabesberger 3a865749e8 fix issues Kiosk issue about localization, nad rename to preferred localization 2018-10-05 16:01:10 +02:00
Ritvik Saraf e85958b180 merged upstream/master 2018-09-29 13:19:00 +05:30
Ritvik Saraf d1ff1c7589 using mobile website since it is faster 2018-09-28 04:54:57 +05:30
Ritvik Saraf c2ed99b1b7 no comments 2018-09-27 23:01:27 +05:30
Ritvik Saraf ad8066830d getting client version and name from initial page 2018-09-27 22:32:13 +05:30
Ritvik Saraf 6b620914b6 moved cookie logic outside 2018-09-27 02:04:12 +05:30
Ritvik Saraf fb1419608a using getDataString 2018-09-27 00:44:55 +05:30
Ritvik Saraf ce76885553 removed generics 2018-09-26 04:21:58 +05:30
Ritvik Saraf 8e27801183 removed jackson and java 8 2018-09-26 03:20:29 +05:30
Christian Schabesberger 5223aece7b fix failing unit test 2018-09-24 15:17:57 +02:00
Christian Schabesberger f334dd07de fix youtub.be links in description 2018-09-24 15:06:00 +02:00
Christian Schabesberger ad4b15ac66
Merge pull request #114 from TeamNewPipe/localization
Localization
2018-09-24 14:00:20 +02:00
Ritvik Saraf c1199c8fcf added isCommentsSupported method 2018-09-23 01:12:11 +05:30
Ritvik Saraf 0e86475891 removed commentsInfo from streamInfo 2018-09-22 23:36:41 +05:30
Ritvik Saraf 7ed0da0493 more testing 2018-09-22 19:09:31 +05:30
Ritvik Saraf 6a0341d59c testing 2018-09-22 14:55:59 +05:30
Christian Schabesberger 49c2eb5185 fix failing watch links 2018-09-20 13:51:06 +02:00
Ritvik Saraf e04787f340 fixed NPE for services where comments is not available 2018-09-19 05:32:14 +05:30
Ritvik Saraf 4794e16dcb removed comment details form streamInfo. added commentsInfo instead 2018-09-19 04:58:40 +05:30
Ritvik Saraf ee239985ae added CommentsInfo 2018-09-19 04:58:40 +05:30
Ritvik Saraf 4ca23ab5c3 revering serialzable change 2018-09-19 04:58:40 +05:30
Ritvik Saraf bf2d3deb03 make extractor serializable 2018-09-19 04:58:40 +05:30
Ritvik Saraf 823551170d added loadable comments in stream info 2018-09-19 04:58:40 +05:30
Ritvik Saraf 9fb0622a24 better quality thumbnails 2018-09-19 04:58:40 +05:30
Ritvik Saraf f62f147ea0 added comments to stream info 2018-09-19 04:58:40 +05:30
Ritvik Saraf 06898f47b2 close resource 2018-09-19 04:58:40 +05:30
Ritvik Saraf 95575756ee added http post method in downloader, formatting 2018-09-19 04:58:40 +05:30
Ritvik Saraf 8b8779b176 removing catch exception 2018-09-19 04:58:40 +05:30
Ritvik Saraf 53d3997904 added comments extractor 2018-09-19 04:58:40 +05:30
Christian Schabesberger ce2bbee1e9 add propper localization 2018-09-15 22:29:28 +02:00
Christian Schabesberger dc0d0bda24 replace uiHandler name with linkhandler 2018-09-15 22:29:28 +02:00
Christian Schabesberger ae8107b182
Merge branch 'master' into master 2018-09-15 22:18:54 +02:00
Christian Schabesberger 96b4c97cee
Merge pull request #109 from karyogamy/sig-fix-update
Decryption Signature Regex Update
2018-09-15 22:10:31 +02:00
Christian Schabesberger 217d13b102 fix wrong subscription count 2018-09-11 15:14:22 +02:00
Christian Schabesberger 8a4afe2548 refactor split time parsing 2018-09-09 14:01:39 +02:00
skil3z a83d020944
Accommodate time formatting for different countries
If there's a . in the time format, this detects it and uses is instead of : 
This removes errors and lag related to "Could not get duration" while using NewPipe in countries with official time formatting with . (dot) instead of : (punctuation colon)

Tested to compile and work on real device
2018-09-09 12:53:10 +03:00
John Zhen Mo ed73ae55f1 -Added more decrypt function name matching regex.
-Cleaned up decryption code generation method.
2018-09-07 22:25:07 -07:00
Christian Schabesberger 66c3c3f452 fix channel links in description part 2 2018-09-07 22:18:22 +02:00
Christian Schabesberger 4469d11307 fix channel links in description 2018-09-07 21:40:36 +02:00
John Zhen Mo 119843bfac -Fix signature extraction parse exception. 2018-09-07 11:34:14 -07:00
Mauricio Colli 850670917f
Quick fix for the kiosks in SoundCloud 2018-09-05 07:25:24 -03:00
Mauricio Colli 834382111b
Fix NPE when playlist is empty 2018-09-03 22:37:31 -03:00
Mauricio Colli 0400ae026f
Fix channels with subscription count disabled
Related: TeamNewPipe/NewPipe#1649
2018-09-03 22:37:31 -03:00
Mauricio Colli f6be85e2f5
Merge branch 'dev' into 'master' 2018-09-03 22:37:31 -03:00
Christian Schabesberger f498dd7875 fix failing unit tests
fix yt share url error
2018-08-28 17:19:22 +02:00
Christian Schabesberger fef71aeccc roleback using href for description links 2018-08-28 11:55:12 +02:00
Christian Schabesberger 3aa7ff6d0e make ytdescription alter href instead of the text of links 2018-08-27 20:45:43 +02:00
Christian Schabesberger e662c97433 make dash parser ignore segmented streams 2018-08-21 17:23:56 +02:00
Christian Schabesberger c4e16c7337 fix hashtag parsing 2018-08-17 16:22:50 +02:00
Christian Schabesberger 981cb333b5 fix link parsing for yt internal links
blub
2018-08-16 17:44:09 +02:00
Christian Schabesberger 389a87fc89 add link parsing for youtube description 2018-08-16 17:11:18 +02:00
Christian Schabesberger aeb813840d fix search querry tests 2018-08-05 14:14:36 +02:00
Christian Schabesberger 701666f498 block yt premium videos
fix logig error for block yt premium videos
2018-08-05 13:04:49 +02:00
Christian Schabesberger af1dddb79e
Merge pull request #96 from Bleuzen/enable_opus
Enable opus format 251
2018-08-01 18:21:50 +02:00
oscar a077cb9777 Small YoutubeStreamLinkHandlerFactory refactoring 2018-07-25 17:21:42 +02:00
oscar a9ce0b29d0 Fixed improper handling of playlist deep links 2018-07-25 17:15:56 +02:00
Bleuzen 9af07a2562 re-enable opus 2018-07-24 17:25:42 +02:00
Christian Schabesberger 1eff8c5708 rename filter playlist to playlists 2018-07-19 16:16:37 +02:00
Christian Schabesberger 558a973e43 rename search filters 2018-07-19 16:06:44 +02:00
Christian Schabesberger 8ee068fd98 fix names in kiosklist
blub
2018-07-13 21:50:49 +02:00
Christian Schabesberger 28788a05db rename uih and remove afiliate link foo 2018-07-13 18:02:40 +02:00
Christian Schabesberger a1aaca1bea get info from initial page 2018-07-08 20:49:13 +02:00
Christian Schabesberger 53f0bc9d8d add getInfo without need for search extractor to searchinfo 2018-07-08 20:15:14 +02:00
Christian Schabesberger 35b46900c1 add outcomming items of searchextractor to searchinfo 2018-07-08 19:53:25 +02:00
Christian Schabesberger 4746a1c48a upgrade kisok uriIdhandler to ListUIHandler 2018-07-08 15:27:35 +02:00
Christian Schabesberger 31b0480e22 fix failing tests 2018-07-08 14:43:49 +02:00
Christian Schabesberger 2f351be772 add getMoreInfo to SearchInfo 2018-07-08 14:32:31 +02:00
Christian Schabesberger 812a785811 remove searchengine 2018-07-02 13:47:39 +02:00
Christian Schabesberger 291de18418 getUIHandler() to getUIHFactory()
handler to handlerFactory in kiosk
2018-07-01 19:01:39 +02:00
Christian Schabesberger bd5423fe2a make less tests fail 2018-07-01 16:55:48 +02:00
Christian Schabesberger 17f46b8b12 rename UrlIdHandler to UIHFactory 2018-07-01 16:55:48 +02:00
Christian Schabesberger 9bda761103 add test for soundcloud search extractor 2018-07-01 16:55:48 +02:00
Christian Schabesberger ef2ce6854c add soundcloud SearchExtractor 2018-07-01 16:55:48 +02:00
Christian Schabesberger 5718d5b8b4 add tests for searchextractor 2018-07-01 16:55:48 +02:00
Christian Schabesberger 06c67763d2 remove soundcloud and make first search test work 2018-07-01 16:55:48 +02:00
Christian Schabesberger b4544a67e8 add SearchExtractor 2018-07-01 16:55:48 +02:00
Christian Schabesberger 0501a2f543 fix donation link parsing 2018-05-08 21:58:35 +02:00
Christian Schabesberger 94d1eb6f32 restructure youtube service 2018-05-08 21:19:03 +02:00
Christian Schabesberger 08f0247d73 make UrlIdHandler actual wrapper for the url/id
fix tests

fix tests
2018-05-06 19:51:24 +02:00
Christian Schabesberger b7c1f251d8 add filter to stream lists 2018-05-05 20:07:47 +02:00
Christian Schabesberger bf1c771662 fix could not parese metadata despide available error 2018-05-04 16:11:25 +02:00
Christian Schabesberger bad67f0bc3 Merge branch 'dev' of github.com:TeamNewPipe/NewPipeExtractor into dev 2018-04-29 21:31:45 +02:00
Christian Schabesberger 466865385e add support for affiliate 2018-04-29 21:31:24 +02:00
Christian Schabesberger 016c2fc549 add channel donations for youtube 2018-04-08 15:58:42 +02:00
Mauricio Colli 1c8dafe4c6
Lightweight method to get the client id on SoundCloud
- Instead of downloading the whole ~1MB file, download just the first 16KB. With fallback to the old way in case of fail
- I've come across some technical difficulties as to how to limit the download (current implementation is too basic/simple for that), but in the end, a simple http header (Range) was enough
2018-04-07 22:12:27 -03:00
Christian Schabesberger 17e7e5a359 enable donations for streams 2018-04-07 21:36:20 +02:00
Christian Schabesberger 1d94e7d477 add ability to get donation links from channel 2018-04-07 16:45:07 +02:00
Mauricio Colli 77a74b8d20
Add "originalUrl" field to Info's object 2018-04-06 03:06:46 -03:00
Mauricio Colli 3fe9922d49
Fix failing test due to an invalid path 2018-04-06 03:06:33 -03:00
Christian Schabesberger a6b6235644 return propper name for soundcloud kisok extractor 2018-04-01 20:27:44 +02:00
Christian Schabesberger 22c59a4895 changed implement me to SoundCloud Charts 2018-03-31 18:38:22 +02:00
Christian Schabesberger 9664658914 Merge branch 'master' of github.com:TeamNewPipe/NewPipeExtractor 2018-03-25 16:08:35 +02:00
Christian Schabesberger f2067338db move on to version 0.13.0, and made ListCollector only accept InfoItemExtracto 2018-03-25 16:08:14 +02:00
Mauricio Colli fa3974bf3a
Fix javadoc generation and some errors
- Generate javadoc containing all the classes from all submodules
2018-03-18 16:18:11 -03:00
Mauricio Colli f787b375e5
Created gradle module and moved existing code to new one 2018-03-14 00:44:02 -03:00