Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: poetry install

- name: Authenticate to PyPI
run: poetry http-basic.pypi ${{ secrets.PYPI_USERNAME }} ${{ secrets.PYPI_PASSWORD }}
run: poetry config http-basic.pypi '${{ secrets.PYPI_USERNAME }}' '${{ secrets.PYPI_PASSWORD }}'

- name: Release
run: poetry run invoke release
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
# Twitter Video Tools
[![PyPI version](https://badge.fury.io/py/twitter-video-tools.svg)](https://badge.fury.io/py/twitter-video-tools)
[![Package Release Status](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/release.yaml/badge.svg)](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/release.yaml)
[![Test](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/test.yaml/badge.svg?branch=master)](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/test.yaml)
[![codecov](https://codecov.io/gh/code-yeongyu/twitter_video_tools/branch/master/graph/badge.svg?token=97K8BBWOH7)](https://codecov.io/gh/code-yeongyu/twitter_video_tools)


- A multi-processing supported video downloader
- supports downloading videos from twitter (or specific user from twitter) && monsnode.

## Install

### PIP
### with PIP

```sh
pip install twitter-video-tools
```

### Poetry
### with Poetry (Recommended)

```sh
poetry add twitter-video-tools
Expand Down
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def release(context: Context) -> None:
except UnexpectedExit as exception:
with open(pyproject_path, 'w', encoding='utf-8') as pyproject_file:
pyproject_file.write(pyproject_string)
raise exception
raise exception from exception

# recover to original
with open(pyproject_path, 'w', encoding='utf-8') as pyproject_file:
Expand Down