├── README.md └── .github └── workflows ├── test-py2.yml └── test-py3.yml /README.md: -------------------------------------------------------------------------------- 1 | ### Testing [TikTok Extractor](https://github.com/ytdl-org/youtube-dl/pull/22838) for [youtube-dl](https://github.com/ytdl-org/youtube-dl) 2 | 3 | [![TikTok Extractor Python 2](https://github.com/skyme5/youtube-dl-tiktok-test/workflows/Python-2/badge.svg)](https://github.com/skyme5/youtube-dl-tiktok-test/actions?query=workflow%3APython-2) 4 | [![TikTok Extractor Python 3](https://github.com/skyme5/youtube-dl-tiktok-test/workflows/Python-3/badge.svg)](https://github.com/skyme5/youtube-dl-tiktok-test/actions?query=workflow%3APython-3) 5 | 6 | Use GitHub Action to check the TikTok Extractor. The GitHub Action will 7 | notify breaking changes on titok.com. 8 | -------------------------------------------------------------------------------- /.github/workflows/test-py2.yml: -------------------------------------------------------------------------------- 1 | name: Python-2 2 | # This workflow is triggered on pushes to the repository. 3 | on: 4 | schedule: 5 | - cron: "1 2 */1 * *" 6 | workflow_dispatch: 7 | inputs: 8 | logLevel: 9 | description: "Log level" 10 | required: true 11 | default: "warning" 12 | tags: 13 | description: "Test scenario tags" 14 | required: false 15 | 16 | jobs: 17 | test: 18 | runs-on: ubuntu-latest 19 | strategy: 20 | matrix: 21 | python-version: [2.7] 22 | 23 | steps: 24 | - uses: actions/checkout@v2 25 | with: 26 | repository: skyme5/youtube-dl-1 27 | ref: tiktok 28 | - name: Set up Python ${{ matrix.python-version }} 29 | uses: actions/setup-python@v2 30 | with: 31 | python-version: ${{ matrix.python-version }} 32 | - name: Run Tests 33 | run: | 34 | python2 test/test_download.py TestDownload.test_TikTok 35 | python2 test/test_download.py TestDownload.test_TikTok_1 36 | -------------------------------------------------------------------------------- /.github/workflows/test-py3.yml: -------------------------------------------------------------------------------- 1 | name: Python-3 2 | # This workflow is triggered on pushes to the repository. 3 | on: 4 | schedule: 5 | - cron: "1 2 */1 * *" 6 | workflow_dispatch: 7 | inputs: 8 | logLevel: 9 | description: "Log level" 10 | required: true 11 | default: "warning" 12 | tags: 13 | description: "Test scenario tags" 14 | required: false 15 | 16 | jobs: 17 | test: 18 | runs-on: ubuntu-latest 19 | strategy: 20 | matrix: 21 | python-version: [3.8] 22 | 23 | steps: 24 | - uses: actions/checkout@v2 25 | with: 26 | repository: skyme5/youtube-dl-1 27 | ref: tiktok 28 | - name: Set up Python ${{ matrix.python-version }} 29 | uses: actions/setup-python@v2 30 | with: 31 | python-version: ${{ matrix.python-version }} 32 | - name: Run Tests 33 | run: | 34 | python3 test/test_download.py TestDownload.test_TikTok 35 | python3 test/test_download.py TestDownload.test_TikTok_1 36 | --------------------------------------------------------------------------------