Go to file
jimbo1qaz e38d906ff9 Fix timestamp links in Youtube video descriptions
For some reason, in NewPipeExtractor,
comments were loaded from JSON by YoutubeCommentsInfoItemExtractor as text,
sent via CommentsInfoItem#getCommentText to NewPipe,
where timestamps are converted to hyperlinks using Linkify:
https://github.com/TeamNewPipe/NewPipe/pull/2168

On the other hand, video descriptions are handled in NewPipeExtractor
by scraping the watch-page HTML.
There, timestamp links were previously mangled (and now properly parsed),
before being sent as HTML via YoutubeStreamExtractor#getDescription
to NewPipe (where HTML gets converted to Spanned).

The logic introduced in this commit is different from the above PR,
since it operates in the extractor, and mutates the HTML DOM
rather than identifying via regex.
2019-08-18 01:05:41 -07:00
.github add contribution notes to extractor 2018-02-12 20:34:24 +01:00
extractor Fix timestamp links in Youtube video descriptions 2019-08-18 01:05:41 -07:00
gradle/wrapper fix duration can not be paresd 2019-07-31 16:11:42 +02:00
timeago-parser Add time units strings and utilities 2018-03-22 20:31:02 -03:00
.gitignore Ignore .iml files 2017-12-06 19:06:21 -06:00
.travis.yml Fix javadoc generation and some errors 2018-03-18 16:18:11 -03:00
LICENSE initial commit 2017-03-01 18:47:52 +01:00
README.md add mediaCCC to supported sites in description. 2019-02-19 16:10:46 +01:00
build.gradle Merge branch 'master' of github.com:TeamNewPipe/NewPipeExtractor 2018-03-25 16:08:35 +02:00
copyright initial commit 2017-03-01 18:47:52 +01:00
gradlew fix duration can not be paresd 2019-07-31 16:11:42 +02:00
gradlew.bat fix duration can not be paresd 2019-07-31 16:11:42 +02:00
settings.gradle Created gradle module and moved existing code to new one 2018-03-14 00:44:02 -03:00

README.md

NewPipe Extractor

Build Status JIT Pack Badge Documentation

NewPipe Extractor is a library for extracting things from streaming sites. It is a core component of NewPipe, but could be used independently.

Usage

NewPipe Extractor is available at JitPack's Maven repo.

If you're using Gradle, you could add NewPipe Extractor as a dependency with the following steps:

  1. Add maven { url 'https://jitpack.io' } to the repositories in your build.gradle.
  2. Add compile 'com.github.TeamNewPipe:NewPipeExtractor:v0.11.0'the dependencies in your build.gradle. Replace v0.11.0 with the latest release.

Supported sites

The following sites are currently supported:

  • YouTube
  • SoundCloud
  • MediaCCC

License

GNU GPLv3 Image

NewPipe is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.