Fynn Godau
14f6f1b7c3
Generify related streams calls and rename method
2021-03-31 20:24:40 +02:00
bopol
8806fb4e6b
address reviews
2021-03-19 10:14:43 +01:00
bopol
c47cc54908
Extract metadata for YouTube, SoundCloud & MediaCCC
2021-03-19 10:14:43 +01:00
bopol
1a322ad8ed
Add uploader verified by service extraction
2021-02-18 16:36:40 +01:00
TobiGr
bc6de14952
Extract stream and search meta info for YouTube
...
Add method to extract Google webcache URLs.
2020-12-22 18:19:26 +01:00
vkay94
d3eea4f4be
Add stream segments to StreamInfo
2020-12-12 10:24:29 +01:00
Stypox
57e7994c9e
Add some missing finals, nullables and comments
2020-10-25 08:12:41 +01:00
wb9688
fc3a63fec5
Update Javadoc for getRelatedStreams()
2020-07-15 18:48:37 +02:00
wb9688
ff560e907a
Remove getNextStream() from StreamExtractor
2020-07-15 18:48:37 +02:00
Roy Yosef
a408661771
Fix PR review
...
Rename "ParentChannel" to "SubChannel"
Add Tests for sub-channel info fetching
2020-05-07 20:20:12 +02:00
Roy Yosef
1de1f97cf1
Add parent channel info to StreamExtractor: name, url & avatar url
2020-05-07 20:20:12 +02:00
Tobias Groza
a129c65c63
more improvements of comments
...
Co-Authored-By: Stypox <stypox@pm.me>
2020-02-16 23:59:31 +01:00
TobiGr
0a4115286b
Apply one suggestion
2020-02-15 13:36:54 +01:00
Tobias Groza
6822574588
Fix typos
...
Co-Authored-By: B0pol <bopol@e.email>
2020-02-15 13:36:54 +01:00
TobiGr
030465b5d4
Improve code formatting and optimise imports
2020-02-15 13:36:54 +01:00
bopol
26c65b2948
Create class Description
2020-02-06 23:35:46 +01:00
B0pol
e392b6c68f
getLanguageInfo returns Locale instead of String
...
so that java can automatically translate with Locale.getDisplayLanguage(), instead of always having English name of the language
2020-01-25 14:12:38 +01:00
bopol
74439f692a
add extraction for support info and rename getLanguageInfo function
2020-01-23 14:19:22 +01:00
bopol
b382416372
changed the way to extract peertube description
...
if the description length is above 254, and ends with ..., it means the description we got from the first request is shortened.
why above 254: because in fact, shortened descriptions length are between 255 : https://framatube.org/videos/watch/24efbe1b-73c0-4d72-a3ff-77c8b32d3fcd
https://framatube.org/videos/watch/1ca99f40-fb5b-4fa4-abe5-4d54325df7fc
and 269: https://framatube.org/videos/watch/4d661d5f-a884-4510-bca8-15cb19aa3fe5
also fixed a typo in StreamExtractor.java
2020-01-20 14:36:12 +01:00
bopol
a281519e77
added metadata, fix descriptions, fix thumbnail, update tests
...
thumbnail: quality before: https://peertube.cpy.re/static/thumbnails/d2a5ec78-5f85-4090-8ec5-dc1102e022ea.jpg
quality after: https://peertube.cpy.re/static/previews/d2a5ec78-5f85-4090-8ec5-dc1102e022ea.jpg
description: we were getting about the first 260 characters, we now get full description (with fallback to first 260 chars if the get request for full description fails)
test: updated tests to match description, also changed some test: it was assertEquals(extracted, expected), but the proper way to do it is assertEquals(expected, extracted)
metadata: got host, privacy (public, private, unlisted), licence, language, tags
2020-01-20 12:22:33 +01:00
Mauricio Colli
3d21ef5dba
Introduce class that indicates when the time ago is an approximation
2019-11-03 15:46:28 -03: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
06f2144e4d
[YouTube] Remove GEMA exception handling ( #202 )
2019-10-05 14:59:05 +02:00
Vasiliy
ecb8ad85a1
Update comments
2019-09-11 19:03:53 +03:00
Vasiliy
f084cfec24
Refactor frames extraction
2019-09-10 19:38:51 +03:00
Christian Schabesberger
a78ad16235
rebase correctly
2018-11-09 19:55:40 +01: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
ce2bbee1e9
add propper localization
2018-09-15 22:29:28 +02:00
Christian Schabesberger
28788a05db
rename uih and remove afiliate link foo
2018-07-13 18:02:40 +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
b4544a67e8
add SearchExtractor
2018-07-01 16:55:48 +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
466865385e
add support for affiliate
2018-04-29 21:31:24 +02:00
Christian Schabesberger
17e7e5a359
enable donations for streams
2018-04-07 21:36:20 +02:00
Mauricio Colli
f787b375e5
Created gradle module and moved existing code to new one
2018-03-14 00:44:02 -03:00