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

Sushi chef creation wizard #291

Open
kollivier opened this issue Oct 13, 2020 · 0 comments
Open

Sushi chef creation wizard #291

kollivier opened this issue Oct 13, 2020 · 0 comments

Comments

@kollivier
Copy link
Contributor

kollivier commented Oct 13, 2020

  • ricecooker version:
  • Python version:
  • Operating System:

Description

Once the ricecooker CLI is landed, it opens the possibility for wizard-based project creation. This ticket details how such a command could work, and how it could make ricecooker usable by non-developers in some contexts.

The idea is that there would be a jiro wizard (with maybe a jiro omakase command alias). Upon invoking the command, it would ask the user some questions.

First, where is the content located? Options:

  1. A web site
  2. YouTube or another video site
  3. A directory on your computer
  4. Other

If 1, it will ask for a URL or URLs to scrape, and ask should the scraper follow links, if so how many levels deep, etc.

If 2, it will ask for a URL or list of URLs of videos to scrape.

If 3, it will ask for the root directory, and recurse it, adding metadata CSV files at each level and using LineCook.

If 4, it will just create a basic sushichef.py based on our templates.

If 1-3 are chosen, it will create special SushiChef subclasses that will read the input data from config files and act on them. The scripts will still be fully customizable if needed, but for simple cases you should just be able to run it.

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

No branches or pull requests

1 participant