Skip to content

fibi v1.0.1 (solution: fixed subtitle)#123

Open
heisfibi wants to merge 15 commits intosealedtx:masterfrom
heisfibi:master
Open

fibi v1.0.1 (solution: fixed subtitle)#123
heisfibi wants to merge 15 commits intosealedtx:masterfrom
heisfibi:master

Conversation

@heisfibi
Copy link

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.

README.md Outdated
============

[![](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)
Copy link
Owner

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>
Copy link
Owner

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?

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix formatting

if (request.isAsync()) {
ExecutorService executorService = config.getExecutorService();
Future<VideoInfo> result = executorService.submit(() -> parseVideo(request.getVideoId(), request.getCallback()));
Future<VideoInfo> result = executorService
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix formatting

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(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix formatting

@sealedtx
Copy link
Owner

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants