Pulling Newsletter Text From Jellyfin: Difference between revisions

From MemoryLeak
Jump to navigation Jump to search
Created page with "== Pulling data from Jellyfin on the recent addit-ons to the library == #Open a terminal window #CD to Users/kmilleca/Movies/scripts #Run the script: python3 newsletter_movies.py"
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:


#Open a terminal window
#Open a terminal window
#CD to Users/kmilleca/Movies/scripts
#CD to Users/kmilleca/Movies/scripts
#Run these scripts in Terminal, one at a time:<syntaxhighlight lang="bash">
export JELLYFIN_API_KEY='your_jellyfin_key'


#Run the script:
export ANTHROPIC_API_KEY='your_anthropic_key'


python3 newsletter_movies.py
python3 newsletter_movies.py</syntaxhighlight>
#Open "Movie Newsletter Template" in GDocs
# Paste the output using the "Paste from Markdown" option.
#Look for the output, new_movies.html, in the scripts directory.

Latest revision as of 02:45, 2 November 2026

Pulling data from Jellyfin on the recent addit-ons to the library

  1. Open a terminal window
  2. CD to Users/kmilleca/Movies/scripts
  3. Run these scripts in Terminal, one at a time:
    export JELLYFIN_API_KEY='your_jellyfin_key'
    
    export ANTHROPIC_API_KEY='your_anthropic_key'
    
    python3 newsletter_movies.py
    
  4. Open "Movie Newsletter Template" in GDocs
  5. Paste the output using the "Paste from Markdown" option.
  6. Look for the output, new_movies.html, in the scripts directory.