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

Commit

Permalink
Fix getting urls for some videos
Browse files Browse the repository at this point in the history
  • Loading branch information
nhCoder committed Jul 22, 2019
1 parent 08d9f8a commit 33ab18f
Show file tree
Hide file tree
Showing 82 changed files with 18,737 additions and 12 deletions.
Binary file added YoutubeExtractor/app/build/bin/app.apk
Binary file not shown.
Binary file added YoutubeExtractor/app/build/bin/classes.dex
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
42 changes: 42 additions & 0 deletions YoutubeExtractor/app/build/bin/injected/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.naveed.ytextractor"
android:versionCode="1"
android:versionName="1.0">

<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="21"/>

<uses-permission
android:name="android.permission.INTERNET"/>

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:resizeableActivity="true">

<activity
android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name">

<intent-filter>

<action
android:name="android.intent.action.MAIN"/>

<category
android:name="android.intent.category.LAUNCHER"/>

</intent-filter>

</activity>

</application>

</manifest>

Binary file not shown.
Binary file not shown.
Binary file not shown.
31 changes: 31 additions & 0 deletions YoutubeExtractor/app/build/bin/merged/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.naveed.ytextractor"
android:versionCode="1"
android:versionName="1.0" >

<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="21" />

<uses-permission android:name="android.permission.INTERNET" />

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:resizeableActivity="true"
android:theme="@style/AppTheme" >
<activity
android:name="com.naveed.ytextractor.MainActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>

</manifest>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added YoutubeExtractor/app/build/bin/resources.ap_
Binary file not shown.
6,219 changes: 6,219 additions & 0 deletions YoutubeExtractor/app/build/gen/android/support/v7/appcompat/R.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/** Automatically generated file. DO NOT MODIFY */
package com.naveed.ytextractor;

public final class BuildConfig {
public final static boolean DEBUG = true;
}
6,219 changes: 6,219 additions & 0 deletions YoutubeExtractor/app/build/gen/com/naveed/ytextractor/R.java

Large diffs are not rendered by default.

6,219 changes: 6,219 additions & 0 deletions YoutubeExtractor/app/build/gen/com/universalvideoview/R.java

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -275,26 +275,15 @@ private void parseJson(String body) throws Exception {
PlayerResponse playerResponse=new GsonBuilder().serializeNulls().create().fromJson(response.getArgs().getPlayerResponse(),PlayerResponse.class);
YTVideoMeta=playerResponse.getVideoDetails();
LogUtils.log(response.getAssets().getJs());
if (YTVideoMeta.getisLive() || YTVideoMeta.getIsLiveContent()) {
if (YTVideoMeta.getisLive() || ( YTVideoMeta.getIsLiveContent()&& playerResponse.getStreamingData().getHlsManifestUrl()!=null)) {
isLive=true;
}
useCipher=YTVideoMeta.getUseChiper();
if(isLive)parseLiveUrls(playerResponse.getStreamingData());

}

public void CopytoClip(String x){

((ClipboardManager)ContextUtils.context.getSystemService(ContextUtils.context.CLIPBOARD_SERVICE)).setPrimaryClip(ClipData.newPlainText("clipboard", x));

Toast.makeText(ContextUtils.context, "Copied", Toast.LENGTH_SHORT).show();





}

private void parseLiveUrls( PlayerResponse.StreamingData data) throws Exception {

if(data.getHlsManifestUrl()==null){
Expand Down

0 comments on commit 33ab18f

Please sign in to comment.