Skip to content
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

Enable Cobalt intergration #38

Open
Dobby233Liu opened this issue Aug 27, 2024 · 5 comments
Open

Enable Cobalt intergration #38

Dobby233Liu opened this issue Aug 27, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@Dobby233Liu
Copy link
Owner

Dobby233Liu commented Aug 27, 2024

When imputnet/cobalt#676 is fixed

bembedfix/src/index.js

Lines 76 to 77 in 24b8358

// TODO: Uncommenting the following enables interaction with the Cobalt API
data = await getVideoData(info); // , !html5EmbedWorks, !req.query.__bef_report_cobalt_errs);

@Dobby233Liu Dobby233Liu added the enhancement New feature or request label Aug 27, 2024
@Ecstaticoder
Copy link

@Dobby233Liu Would it not be much easier to pull video info with YT-DLP instead, or is there a reason why Cobalt needs to be used for this?

@Dobby233Liu
Copy link
Owner Author

Dobby233Liu commented Sep 12, 2024

I pretty much just want to make it easy for myself, honestly. I did try to intergrate youtube-dl for obtaining the video stream at the early stage of development (there's a branch for the code), without much success.

@Ecstaticoder
Copy link

Alright, it might be a main instance issue. Using a different instance like https://cal1.co.ggtyler.dev/ it downloads the video perfectly well. More instances can be found here https://instances.hyper.lol/instances/.

@Ecstaticoder
Copy link

Ecstaticoder commented Sep 12, 2024

I believe it has already been fixed but the servers are crowded with requests. Maybe try adding it. I found out you might need to try out using the other instance's API as the main API refuses to work.

@Dobby233Liu
Copy link
Owner Author

Dobby233Liu commented Sep 16, 2024

Two problems now

  1. The request routine or chosen instance is very slow
    image
  2. Add support for paginated video links from bilibili imputnet/cobalt#648

Originally posted by @Dobby233Liu in #39 (comment)

@Dobby233Liu Dobby233Liu removed their assignment Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants