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

New "di" command to download video/playlist info #745

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Vrihub
Copy link
Contributor

@Vrihub Vrihub commented Dec 23, 2017

/commands/misc.py:

  • New function item_info() (derived from the old video_info()),
    used by the new "i" and "di" commands

  • Refactored "i" command: new function display_item_info()

  • New "di" command: new functions download_item_info()
    and download_item_info_many()

/commands/download.py:

  • _make_fname(): allow a string as first argument
    (used by "di" to create the name for playlist info files,
    using the playlist title)

helptext.py: document the new "di" command

/commands/misc.py:

- New function item_info() (derived from the old video_info()),
  used by the new "i" and "di" commands

- Refactored "i" command: new function display_item_info()

- New "di" command: new functions download_item_info()
  and download_item_info_many()

/commands/download.py:

- _make_fname(): allow a string as first argument
  (used by "di" to create the name for playlist info files,
  using the playlist title)
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.

None yet

1 participant