Skip to content

Commit

Permalink
优化notion
Browse files Browse the repository at this point in the history
  • Loading branch information
malinkang committed Feb 6, 2024
1 parent 4ddb47d commit c8ab376
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/douban_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
runs-on: ubuntu-latest
env:
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
NOTION_PAGE: ${{ secrets.NOTION_PAGE }}
NOTION_MOVIE_URL: ${{ secrets.NOTION_MOVIE_URL }}
NOTION_BOOK_URL: ${{ secrets.NOTION_BOOK_URL }}
DOUBAN_NAME: ${{ secrets.DOUBAN_NAME }}
YEAR: ${{ vars.YEAR }}
REPOSITORY: ${{ github.repository }}
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/douban_movie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
NOTION_MOVIE_URL: ${{ secrets.NOTION_MOVIE_URL }}
NOTION_BOOK_URL: ${{ secrets.NOTION_BOOK_URL }}
DOUBAN_NAME: ${{ secrets.DOUBAN_NAME }}
YEAR: ${{ vars.YEAR }}
REPOSITORY: ${{ github.repository }}
steps:
Expand Down
1 change: 0 additions & 1 deletion scripts/douban.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def fetch_subjects(user, type_, status):
"apiKey": DOUBAN_API_KEY,
}
response = requests.get(url, headers=headers, params=params)
print(response.status_code)

if response.ok:
response = response.json()
Expand Down

0 comments on commit c8ab376

Please sign in to comment.