Skip to content

Commit

Permalink
Readied for 1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Owez committed Jan 2, 2023
1 parent b1a4693 commit e53a497
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ Yark lets you continuously archive all videos and metadata of a channel. You can

## Installation

Currently, it's reccomended to clone this repository and run [`poetry install`](https://python-poetry.org/docs/) then `poetry run yark.py [options]` to run yark; this is because there's a temporary issue getting the archive viewer working inside of pip modules.

To install Yark, simply download Python 3.9+ and run the following:

```shell
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "yark"
version = "1.0.4"
version = "1.1.0"
description = "YouTube archiving made simple."
authors = ["Owen Griffiths <[email protected]>"]
license = "MIT"
Expand All @@ -22,10 +22,10 @@ requests = "^2.28.1"
colorama = "^0.4.5"
yt-dlp = "^2022.11.11"

[tool.poetry.dev-dependencies]

[tool.poetry.scripts]
yark = "yark:main"
yark = "yark:run"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down
4 changes: 2 additions & 2 deletions yark.py
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ def _jinja2_filter_timestamp(timestamp, fmt=None):
#


def main():
def run():
"""Command-line-interface launcher"""
# Help message
HELP = f"yark [options]\n\n YouTube archiving made simple.\n\nOptions:\n new [name] [url] Creates new archive with name and channel url\n refresh [name] [args?] Refreshes/downloads archive with optional config\n view [name?] Launches offiline archive viewer website\n\nExample:\n $ yark new owez https://www.youtube.com/channel/UCSMdm6bUYIBN0KfS2CVuEPA\n $ yark refresh owez\n $ yark view owez"
Expand Down Expand Up @@ -1435,4 +1435,4 @@ def launch():


if __name__ == "__main__":
main()
run()

0 comments on commit e53a497

Please sign in to comment.