Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
nhCoder committed Jan 7, 2020
1 parent a6f2588 commit 6fee5c1
Showing 1 changed file with 13 additions and 22 deletions.
35 changes: 13 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,34 @@

YouTubeExtractor

A Youtube urls extractor for java & android for streaming and downloading purpose.

I made this on my Android Device using AIDE(IDE), So i cant update gradle, so dont ask me

Features
• Extracts Muxed and Adaptive urls separately
• Extracts Signature Protected Videos(like vevo)
• Extracts Live Videos Urls(hls)
• Extracts video info(title,author,description,view,etc)
• Extracts Age restricted videos (Uses Cookie from a Google account)
Test Apk

Features • Extracts Muxed and Adaptive urls separately • Extracts Signature Protected Videos(like vevo) • Extracts Live Videos Urls(hls) • Extracts video info(title,author,description,view,etc) • Extracts Age restricted videos (Uses Cookie from a Google account)

Usage

Copy the classes or compile project.

.jar will be available soon

Dependencies Used
• Gson
• Mozilla Rhino
• UniversalVideoView(Used only for video testing)
Dependencies Used • Gson • Mozilla Rhino • UniversalVideoView(Used only for video testing)

Example

new YoutubeStreamExtractor(new YoutubeStreamExtractor.ExtractorListner(){
@Override
public void onExtractionDone(List<YoutubeMedia> adativeStream, final List<YoutubeMedia> muxedStream, YoutubeMeta meta) {

}
@Override
public void onExtractionGoesWrong(final ExtractorException e)
{
}
}).Extract(YOUTUBE_ID/LINK);
new YoutubeStreamExtractor(new YoutubeStreamExtractor.ExtractorListner(){ Override public void onExtractionDone(List adativeStream, final List muxedStream, YoutubeMeta meta) {

}
@Override
public void onExtractionGoesWrong(final ExtractorException e)
{
}
}).Extract(YOUTUBE_ID/LINK);



For age restricted Videos

For extraction of age restricted videos use useDefaultLogin() to Use default cookie.. OR YOU CAN override with your own cookies by method setHeaders
For extraction of age restricted videos use useDefaultLogin() to Use default cookie.. OR YOU CAN override with your own cookies by method setHeaders

0 comments on commit 6fee5c1

Please sign in to comment.