Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SeoulSKY committed Jul 18, 2024
1 parent b5a158d commit cf661c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ However, you can pass your own FastAPI instance when you run (Async)YouTubeNotif
notifier = YouTubeNotifier()
@notifier.upload()
async def listener(video):
print(f"New video from {video.channel.name}: {video.title}")
notifier.subscribe("UC9EEyg7QBL-stRX-7hTV3ng") # Channel ID of SpeedyStyle
notifier.run(app=app)
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
project = "ytnoti"
copyright = "2024 - Present, SeoulSKY"
author = "SeoulSKY"
release = "1.1.1"
release = "1.1.2"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down

0 comments on commit cf661c3

Please sign in to comment.