Commit Graph

322 Commits

Author SHA1 Message Date
Stypox 216a4eb1f5
Complete fix inconsistency in youtube channel urls
It is not always possible to get the url in the form "https://www.youtube.com/channel/...", so a not has been added whenever that happens to be the case (i.e. only in InfoStreamItems).
2019-08-16 21:17:03 +02:00
Stypox 315c5c262f
Typo 2019-08-16 21:14:52 +02:00
Stypox d14c45c948
Fix SoundCloud tests 2019-08-12 17:15:21 +02:00
Stypox b09e402d4f
Fix wrong regex when channel id is at the end of the url
It had no "&" at the end.
2019-08-12 16:55:39 +02:00
Stypox 31e74253f8
Fix tests 2019-08-12 16:38:56 +02:00
Stypox 09c6822b1d
Change youtube channel url test 2019-08-12 13:13:41 +02:00
Stypox b8bc57c53f
Add tests for youtube channel urls
They have to be in the form "https://www.youtube.com/channel/ID"
2019-08-12 11:58:50 +02:00
Stypox 6aa69a2df8
Fix inconsistency in youtube channel urls
Urls from the youtube search extractor were "https://www.youtube.com/user/NAME" instead of "https://www.youtube.com/channel/ID". This fixes TeamNewPipe/NewPipe#2167
2019-08-12 11:57:29 +02:00
Andrew 7fb17684f5
Fixed missing colon causing builds to fail 2019-08-08 00:25:42 +00:00
Andrew 5a2dcdce16
Add Invidious instances
Added all publicly listed Invidious instances from omarroth/invidious wiki page to the link handler factory for YouTube.
2019-08-08 00:19:02 +00:00
Christian Schabesberger 5798c8fdf5 fix duration can not be paresd
update gradle to version 5.1

fix sts issue for agegated videos

GOD DAMN FUCKING BULLSHIT

add duratin for controversal/age gated videos

bring back sts

remove ignores

fix ogg test
2019-07-31 16:11:42 +02:00
Christian Schabesberger 4488c21765
Merge pull request #159 from ritiek/better-soundcloud-thumbnail
Improve thumbnail quality for Soundcloud service
2019-06-27 14:27:23 +02:00
TobiGr 0d09a9fd61 Fix SoundCloud playlists parsing exception
Closes TeamNewPipe/NewPipe#2344
2019-06-26 00:56:03 +02:00
Tobias Groza c64c90a567
Merge pull request #168 from masozzi/dev
soundcloud parsing helper: fixed id parser regex
2019-06-02 21:06:57 +02:00
Tobias Groza 796c1b7bc0
Merge pull request #164 from TeamNewPipe/fix/test_comments
Fix failing YouTube comments tests
2019-06-02 11:36:16 +02:00
Matteo Sozzi 93d4299f07 soundcloud parsing helper: fixed id parser regex 2019-05-31 20:15:36 +02:00
Tobias Groza 2ac713e70f
Merge pull request #160 from Stypox/invalid-youtube-subscription-fix
Fixed youtube subscription import: ignore ones with invalid url and keep ones with empty title.
2019-05-14 22:26:25 +02:00
Tobias Groza 867ca1cabf Fix failing YouTube comments tests
The comment function has been disabled for the video on which we ran the test. We are testing the comments of a different video now.
2019-05-14 22:11:40 +02:00
Stypox c70d28597b
Add fallback for urls not conaining the "sp" tag
If ever YouTube changes thing again (or uses old urls for some unknown reason), this prevents the extractor from crashing.
As suggested here: 133cc032d9 (r283529811)
2019-05-14 13:57:45 +02:00
Stypox 133cc032d9
Fix invalid yt url: signature tag name is not always "signature"
Thanks to @omarroth for the suggestion: see TeamNewPipe/NewPipeExtractor#155
2019-05-13 21:25:35 +02:00
Stypox 0eaca52c15
Add test for subscription with invalid url.
Also modified the test for empty title, since now  subscriptions with empty title are not ignored anymore.
2019-04-28 14:19:33 +02:00
Stypox 171f2c49fe
Ignore subscriptions with invalid url and keep ones with empty title.
if a channel if deleted (thus it has an empty title), it is imported in NewPipe anyway, so that if it becomes undeleted in the future, it will be shown in the app.
2019-04-28 14:17:52 +02:00
Stypox d5043cdf49
Add test for subscriptions with empty title.
(youtube subscription extractor)
2019-04-26 19:59:23 +02:00
Stypox 03893abd91
Fixed TeamNewPipe/NewPipe#2226.
(in the youtube subscription extractor)
Ignore subscriptions that have an empty title instead of throwing an error: the youtube subscription_manager XML file can sometimes contain those (i.e. deleted channels).
2019-04-26 18:54:30 +02:00
Ritiek Malhotra c7974b2aed Fetch better quality thumbnails
and fallback to avatar thumbnail if track thumbnail isn't found
2019-04-26 02:59:15 +05:30
yausername f60c973928 more javadoc 2019-03-23 19:32:06 +05:30
yausername e4e6d44770 reordered services 2019-03-23 19:12:26 +05:30
yausername aabc65b57d added java doc for stream 2019-03-23 19:11:51 +05:30
yausername 07a8129a73 fixed peertube search test 2019-03-23 19:11:19 +05:30
yausername bd22b55885 fixed youtube channel name test 2019-03-23 19:10:34 +05:30
yausername 2193119fab youtube's comment censorship breaks test 2019-03-23 19:09:40 +05:30
Christian Schabesberger d22786b817 Merge branch 'master' into dev 2019-03-23 10:07:28 +01:00
yausername 4effd0b36d fix empty author name 2019-03-23 00:13:18 +05:30
Christian Schabesberger 560c648e92 fix decrypt regex for akamai 2 times in file 2019-03-14 16:49:30 +01:00
Connectety ed78f7dadc
Merge branch 'master' into invidious-support 2019-03-14 16:07:04 +01:00
Christian Schabesberger dd61d66cf5 speed up finding decrypt function 2019-03-14 09:07:19 +01:00
Ritvik Saraf 0a7d42f58d set soundcloud default kiosk 2019-03-14 08:49:37 +01:00
Ritvik Saraf 53058802e2 fix comment url 2019-03-14 08:49:37 +01:00
Christian Schabesberger e072bf6461 fix dercrypt error due to wrong dollar sign detection 2019-03-14 08:49:11 +01:00
Ritvik Saraf c220700c94 fixed tests 2019-03-10 00:37:01 +05:30
Ritvik Saraf 36139558c6 handle stream 404 error, fixed tests 2019-03-09 23:33:51 +05:30
Ritvik Saraf e66d188381 throw content not available 2019-03-08 04:54:39 +05:30
Ritvik Saraf 22dac63698 merged upstream/dev 2019-03-08 03:09:05 +05:30
Connectety c255fdcdf7
Merge branch 'master' into invidious-support 2019-03-02 13:03:31 +01:00
Ritvik Saraf a2735c4f97 fix comment url 2019-03-02 02:48:05 +05:30
Christian Schabesberger 16d693ea7a
Merge branch 'master' into serviceByUrlNPEfix 2019-03-01 09:54:41 +01:00
Ritvik Saraf 72262707bf fixed youtube comment utf8 bom 2019-03-01 04:21:45 +05:30
Ritvik Saraf 9eff18252b fix npe in fetching service by url 2019-02-28 22:55:18 +05:30
Christian Schabesberger cffbd468cc
Merge branch 'master' into invidious-support 2019-02-24 21:58:59 +01:00
Ritvik Saraf 948a7826ab fetch channel id for channel url 2019-02-23 19:03:52 +05:30
Connectety 28c5b86f6d
Merge branch 'master' into invidious-support 2019-02-20 17:58:21 +01:00
Ritvik Saraf 3dadf63028 refactored comments capability 2019-02-16 00:57:00 +05:30
Ritvik Saraf a97b6dfa7a mediaccc merge 2019-02-16 00:41:23 +05:30
Ritvik Saraf f8fb7b6500 Merge remote-tracking branch 'upstream/master' 2019-02-16 00:18:39 +05:30
Connectety 5079d5efe1
Merge branch 'master' into invidious-support 2019-02-07 23:06:19 +01:00
Ritvik Saraf f97d5ab4cd Merge remote-tracking branch 'upstream/master' 2019-01-29 22:10:07 +05:30
Christian Schabesberger 79b0a19d1a make search filter empty be equal to all 2019-01-29 16:49:37 +01:00
Christian Schabesberger d0efe8bd47 fix ogg 2019-01-29 16:04:19 +01:00
Christian Schabesberger 644da4fc3c add ogg as audioformat 2019-01-28 15:43:21 +01:00
Christian Schabesberger 14e1ccdb86 add conferences search 2019-01-28 15:30:17 +01:00
Christian Schabesberger 1503459292 add kiosk for conferences 2019-01-28 12:18:16 +01:00
Connectety-W 6390eb268b
fixed YoutubePlaylistLinkHandlerFactory accepting invalid links 2019-01-27 12:05:36 +01:00
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