mirror of
https://github.com/C5H12O5/syno-videoinfo-plugin.git
synced 2025-07-23 02:55:35 +00:00
Update README.md
This commit is contained in:
@ -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:
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user