vackosar / youtube-reader Goto Github PK
View Code? Open in Web Editor NEWSave mobile data watching Youtube: Download and read only captions!
Save mobile data watching Youtube: Download and read only captions!
Just tried the package. Pasted https://m.youtube.com/watch?v=dr6nNvw55C4 to the app, and got exceptions as shown in the attached screenshot.
It fails at this line of code in CapsDownloader
String videoInfo = convertStreamToString(createVideoInfoUrl(uri).openConnection().getInputStream());
On Android 9.
I tried both your apk and one I compiled from source. Same.
Hello,
Sorry to bother you again but I'm getting this error when running gradlew assemble
:
:compileDebugJavaWithJavac
/home/pierre/www/youtube-reader/src/main/java/com/vackosar/youtubereader/GraphExecutor.java:5: error: package org.tensorflow.contrib.android does not exist
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;
^
/home/pierre/www/youtube-reader/src/main/java/com/vackosar/youtubereader/GraphExecutor.java:20: error: cannot find symbol
private final TensorFlowInferenceInterface inferenceInterface;
^
symbol: class TensorFlowInferenceInterface
location: class GraphExecutor
/home/pierre/www/youtube-reader/src/main/java/com/vackosar/youtubereader/GraphExecutor.java:27: error: cannot find symbol
this.inferenceInterface = new TensorFlowInferenceInterface(assetManager, MODEL_FILENAME);
^
symbol: class TensorFlowInferenceInterface
location: class GraphExecutor
3 errors
:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
I see you are getting this library locally:
Line 2 in 04c9247
But wouldn't it be possible to add something like this to build.gradle
:
diff --git a/build.gradle b/build.gradle
index 48ee6bc..6ce75a3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -96,6 +96,7 @@ dependencies {
compile 'commons-lang:commons-lang:2.3'
testCompile 'junit:junit:4.12'
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.10.19'
+ compile 'org.tensorflow:tensorflow-android:1.8.0'
}
task buildNativeBazel() {
so the library can be downloaded by Gradle.
Hello,
I'm getting this error when I run gradlew
:
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
I think the gradle/wrapper/
directory is missing.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.