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

[QUESTION] Speed up Downloading js player #16558

Closed
J0K3RAS opened this issue May 26, 2018 · 4 comments
Closed

[QUESTION] Speed up Downloading js player #16558

J0K3RAS opened this issue May 26, 2018 · 4 comments
Labels

Comments

@J0K3RAS
Copy link

@J0K3RAS J0K3RAS commented May 26, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.05.09. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.05.09

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

As the title says, it would be appreciated if there was a way to speed up a bit the Downloading js player process.

The reason why I want to do this is because i have made an .apk, including youtube-dl and it takes about 20 sec before the download begins

However, on the pc it is a lot faster. Please note that I am using python 3.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 26, 2018

Post the full verbose log from that demonstrates the issue (not from pc).

@dstftw dstftw closed this May 26, 2018
@dstftw dstftw added the incomplete label May 26, 2018
@J0K3RAS
Copy link
Author

@J0K3RAS J0K3RAS commented May 26, 2018

Sure, Here it is:
https://drive.google.com/file/d/1sKyigih7Zy2mnbEqi8SBCucg_x7yh5m7/view?usp=sharing

I guess that the output you want is at at the bottom of the log file.
As you will see there is a 25 sec space to start downloading webpage
and 5sec space between 'Extracting video information' and choosing the download destination

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 26, 2018

There is no Downloading js player in your log. For speeding up the start up you may use lazy extractors.

@J0K3RAS
Copy link
Author

@J0K3RAS J0K3RAS commented May 26, 2018

You are correct, it was a mistake that I made because Downloading js player appears only on PC.

I have read about lazy extractors but haven't found how to use them yet...

EDIT: I see that it is a dev script. Do I have to remove the pip version and clone the git ver?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.