litetex
349ba8db7f
Improve tests and randomness
...
- Use the existing RNG inside YoutubeParsingHelper
- Deduplicated test-setup for YouTube tests
- Minor improvements
2022-03-27 20:52:38 +02:00
Stypox
0c37c75981
Make getDownloader static & extract getDownloaderType
2022-03-16 17:22:42 +01:00
litetex
a2cbdf0991
Updated to JUnit 5
2021-12-27 21:08:08 +01:00
litetex
a3a0c1ee85
Fixed YoutubeCommentsExtractorTest
...
Old video was deleted / set to private
2021-12-08 22:11:34 +01:00
FireMasterK
666b45958e
Fix test and update mocks.
2021-08-04 21:10:02 +05:30
FireMasterK
f6d054e5da
Add test for comments.
2021-08-04 21:03:00 +05:30
litetex
e81b0e2885
Tweaked code
2021-05-27 19:48:31 +02:00
litetex
020acfed71
Fixed tests and added new ones
2021-05-24 18:05:26 +02:00
litetex
86bb9efb5d
Added likeCount back to tests
2021-05-24 18:05:25 +02:00
litetex
10cf081145
Removed likeCount and added textualVoteCount
2021-05-20 20:10:14 +02:00
XiangRongLin
4833df60e5
Add method to inject Random into YoutubeParsingHelper and use in tests
2021-04-08 16:36:55 +02:00
XiangRongLin
137272b7a4
Unignore YoutubeCommentsExtractorTest.EmptyComment
...
Mock files were missing
2021-02-16 08:59:34 +01:00
XiangRongLin
d6b9930c18
Use DownloaderFactory in YoutubeCommentsExtractorTest.Pinned
2021-02-13 20:12:39 +01:00
XiangRongLin
84eb4b30c9
Use DownloaderFactory in YouTube tests
2021-02-13 20:00:51 +01:00
bopol
73353996d7
fix more tests
2021-02-12 23:18:38 +01:00
bopol
2662ceca22
rename getHeartedByCreator and getPinned to isPinned and isHeartedByCreator
2021-01-23 13:06:07 +01:00
bopol
66e4eb2f96
extract whether the comment is pinned
2021-01-22 23:59:22 +01:00
Stypox
c2c4d97efd
Merge pull request #482 from XiangRongLin/mock_mix_pl_test
...
Mock mix pl tests
2021-01-15 12:54:48 +01:00
bopol
f3c22da618
comments: add heartedByCreator and extract it for youtube
2021-01-11 18:48:08 +01:00
XiangRongLin
4dad3d60d6
Move DownloaderTestImpl into downloader package
2021-01-10 19:36:21 +01:00
TobiGr
334e1e9b53
Fix YouTube comments test
2020-11-20 19:53:53 +01:00
bopol
345e136f6c
create YouTubeCommentsLinkHandlerFactoryTest
...
and remove invidious test from YouTubeCommentsExtractorTest, because it was just testing if the URL is accepted, then the extractor does the same thing, we don't need to test the same thing twice
2020-11-03 19:10:10 +01:00
TobiGr
0fb73301e3
[YouTube] Fix crash on empty comment
...
Closes #380
2020-08-05 18:25:40 +02:00
wb9688
4cc312086a
Introduce Page class
2020-07-06 20:19:31 +02:00
bopol
261471e7f4
remove invidiou.sh from tests
...
dead instance
2020-07-02 21:33:45 +02:00
wb9688
036cc7e26e
Upgrade jsoup
2020-05-28 11:34:41 +02:00
bopol
2564bcf399
refactor comments
...
rename methods in CommentsInfoItemExtractor interface to match the other method names across NewPipeExtractor
remove getName in (Youtube|SoundCloud|Peertube)CommentsExtractor and move it up in CommentsExtractor, return "Comments" instead
2020-04-21 20:05:54 +02:00
Mauricio Colli
e590417cc4
Test if services recognizes their own items urls
2020-03-01 12:57:18 +01:00
bopol
221e8dd171
changed assertTrue(string.equals(string)) to assertEquals(string, string)
2020-01-17 21:24:52 +01:00
B0pol
02930d08f1
added comments test for invidious
2020-01-17 12:58:50 +01:00
B0pol
a12c0e2a37
fix:invidious: getID and onAccpetURl for comments
2020-01-17 12:09:59 +01:00
Mauricio Colli
3638f0e0ea
Implement time ago parser and improve localization handling
...
- Handle special cases for languages where the number is not shown
- Rework the Downloader base implementation, allowing for more
advanced things to be done
- Separate the localization from the content country (just like
YouTube let's the user choose both).
2019-11-03 15:46:21 -03: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
Ritvik Saraf
e85958b180
merged upstream/master
2018-09-29 13:19:00 +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
Ritvik Saraf
0e86475891
removed commentsInfo from streamInfo
2018-09-22 23:36:41 +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
823551170d
added loadable comments in stream info
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
95575756ee
added http post method in downloader, formatting
2018-09-19 04:58:40 +05:30
Ritvik Saraf
53d3997904
added comments extractor
2018-09-19 04:58:40 +05:30