-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fibi v1.0.1 (solution: fixed subtitle) #123
base: master
Are you sure you want to change the base?
Conversation
I add a new interface method extractSubtitleUrlfromHtml() take two string parameters, html and videoId
I updated the parseSubtitlesInfo method and change the xmlUrl
README.md
Outdated
@@ -1,7 +1,7 @@ | |||
java-youtube-downloader | |||
============ | |||
|
|||
[![](https://jitpack.io/v/sealedtx/java-youtube-downloader.svg)](https://jitpack.io/#sealedtx/java-youtube-downloader) | |||
[![](https://jitpack.io/v/heisfibi/java-youtube-downloader.svg)](https://jitpack.io/#heisfibi/java-youtube-downloader) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please fix README.md to keep it as in target branch
<!-- text --> | ||
<dependency> | ||
<groupId>org.apache.commons</groupId> | ||
<artifactId>commons-text</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you implement StringEscapeUtils.unescapeJava()
inside this project to avoid extra dependency?
@@ -59,7 +60,8 @@ public Response<VideoInfo> parseVideo(RequestVideoInfo request) { | |||
|
|||
private VideoInfo parseVideo(String videoId, YoutubeCallback<VideoInfo> callback) throws YoutubeException { | |||
// try to spoof android | |||
// workaround for issue https://github.com/sealedtx/java-youtube-downloader/issues/97 | |||
// workaround for issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix formatting
@@ -46,7 +46,8 @@ public ParserImpl(Config config, Downloader downloader, Extractor extractor, Cip | |||
public Response<VideoInfo> parseVideo(RequestVideoInfo request) { | |||
if (request.isAsync()) { | |||
ExecutorService executorService = config.getExecutorService(); | |||
Future<VideoInfo> result = executorService.submit(() -> parseVideo(request.getVideoId(), request.getCallback())); | |||
Future<VideoInfo> result = executorService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix formatting
@@ -129,7 +130,8 @@ private VideoInfo parseVideoWeb(String videoId, YoutubeCallback<VideoInfo> callb | |||
|
|||
Response<String> response = downloader.downloadWebpage(new RequestWebpage(htmlUrl)); | |||
if (!response.ok()) { | |||
YoutubeException e = new YoutubeException.DownloadException(String.format("Could not load url: %s, exception: %s", htmlUrl, response.error().getMessage())); | |||
YoutubeException e = new YoutubeException.DownloadException( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix formatting
@heisfibi Thank you for your work. I've left some comments. There are a lot of lines changed in [ParserImpl.java] due to formatting settings, can you fix it, so changes will represent only actual changes |
This release, version fibi 1.0.0, is dedicated to resolving a critical issue related to caption generation that remained unaddressed in the original version 3.2.3. I'm pleased to announce that this issue has now been successfully resolved, offering a more robust and reliable solution.
One of the notable improvements in this release is the fix for the caption generation problem that users encountered in version 3.2.3. We've diligently worked to identify and rectify the root cause, ensuring a seamless experience for users who rely on captioning functionality.
What sets this release apart is its ability to address the caption generation issue without requiring the use of an API key. We understand the importance of simplifying the user experience and have streamlined the captioning process, eliminating the need for users to manage API keys. This enhancement not only makes the software more user-friendly but also reduces potential friction in the setup and configuration process.
As always, we remain committed to delivering high-quality software and addressing user feedback promptly. Users can now enjoy an improved captioning feature, and we look forward to continuing to enhance and refine this labrary in future releases.