Update README.md

This commit is contained in:
C5H12O5
2023-08-12 22:23:57 +08:00
parent b087cdda56
commit 14799a352f
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ $ git clone https://github.com/C5H12O5/syno-videoinfo-plugin
2. Modify the code as you want, and test it like this:
```sh
$ python main.py --type movie --lang enu --input "{\"title\":\"{movie title}\"}" --limit 1
$ python main.py --type movie --input "{\"title\":\"{movie title}\"}" --limit 1 --loglevel debug
```
3. Package the plugin using the following command:

View File

@ -26,7 +26,7 @@ def scrape(plugin_id: str) -> str:
parser = argparse.ArgumentParser()
parser.add_argument("--input", type=str, required=True)
parser.add_argument("--type", type=str, required=True)
parser.add_argument("--lang", type=str, required=True)
parser.add_argument("--lang", type=str, required=False)
parser.add_argument("--limit", type=int, default=_maxlimit)
parser.add_argument("--allowguess", action="store_true", default=False)
parser.add_argument("--configpath", type=str, default=_configpath)