Add --no-vods flag using isLiveContent detection
This commit is contained in:
@@ -17,6 +17,8 @@ python3 latest3.py "https://www.youtube.com/@ludwig/videos"
|
||||
python3 latest3.py "@ludwig" --json
|
||||
python3 latest3.py "https://www.youtube.com/@ludwig/videos" --limit 3 --json
|
||||
python3 latest3.py "https://www.youtube.com/@ludwig/videos" --limit 3 --no-shorts
|
||||
python3 latest3.py "https://www.youtube.com/@ludwig/videos" --limit 3 --no-vods
|
||||
python3 latest3.py "https://www.youtube.com/@ludwig/videos" --limit 3 --no-shorts --no-vods
|
||||
```
|
||||
|
||||
## Output fields
|
||||
@@ -31,6 +33,7 @@ python3 latest3.py "https://www.youtube.com/@ludwig/videos" --limit 3 --no-short
|
||||
- `--limit N` how many videos to return (1-20)
|
||||
- `--json` output as JSON
|
||||
- `--no-shorts` exclude URLs matching `/shorts/`
|
||||
- `--no-vods` exclude livestream VODs (`isLiveContent=true` on watch page)
|
||||
|
||||
## Notes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user