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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nhCoder committed Jan 8, 2020
2 parents 5acf095 + 3c2f020 commit 680b776
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 30 deletions.
56 changes: 26 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,46 @@
# YouTubeExtractor
YouTubeExtractor

A Youtube urls extractor for java & android for streaming and downloading purpose.
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_
I made this on my Android Device using AIDE(IDE), So i cant update gradle, so dont ask me

# Features
[Test Apk](https://github.com/naveedhassan913/YouTubeExtractor/raw/master/YoutubeExtractor/app/build/bin/app.apk)

## Features
- Extracts Muxed and Adaptive urls separately
- Extracts Signature Protected Videos(like vevo)
- Extracts Live Videos Urls(hls)
- 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

# Usage
Copy the classes or compile project.

Copy the classes or compile project.

_.jar will be available soon_

# Dependencies Used
.jar will be available soon

## Dependencies Used
- Gson
- Mozilla Rhino
- UniversalVideView(Used only for video testing)


# Example
- 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`
Binary file removed YoutubeExtractor.apk
Binary file not shown.

0 comments on commit 680b776

Please sign in to comment.