Compare commits
No commits in common. "2c9b0345932e25c112f57ac1d84d4a9552fcd83f" and "a661491bcf4357118158cbefa217b82223f33bd2" have entirely different histories.
2c9b034593
...
a661491bcf
28
README.md
28
README.md
|
@ -1,31 +1,5 @@
|
|||
# Haruhi-DL
|
||||
|
||||
![build status](https://img.shields.io/gitlab/pipeline/laudom/haruhi-dl/master?gitlab_url=https%3A%2F%2Fgit.sakamoto.pl)
|
||||
|
||||
This is a fork of [youtube-dl](https://yt-dl.org/), focused on bringing a fast, steady stream of updates. We'll do our best to merge patches to any site, not only youtube.
|
||||
|
||||
## Installing
|
||||
|
||||
haruhi-dl is available on PyPI: [![version on PyPI](https://img.shields.io/pypi/v/haruhi-dl.svg)](https://pypi.org/project/haruhi-dl/)
|
||||
|
||||
Install release from PyPI on Python 3.x:
|
||||
```sh
|
||||
$ python3 -m pip install --upgrade haruhi-dl
|
||||
```
|
||||
Install from master (unstable) on Python 3.x:
|
||||
```sh
|
||||
$ python3 -m pip install --upgrade git+https://git.sakamoto.pl/laudom/haruhi-dl.git
|
||||
```
|
||||
|
||||
Install release from PyPI on Python 2.x:
|
||||
```sh
|
||||
$ python2 -m pip install --upgrade haruhi-dl
|
||||
```
|
||||
Install from master (unstable) on Python 2.x:
|
||||
```sh
|
||||
$ python2 -m pip install --upgrade git+https://git.sakamoto.pl/laudom/haruhi-dl.git
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
If you want to contribute, send us a diff to <contribute@haruhi.download>.
|
||||
If you want to contribute, send us a diff to [contribute@haruhi.download](mailto:contribute@haruhi.download)
|
|
@ -311,7 +311,7 @@ class TestFormatSelection(unittest.TestCase):
|
|||
|
||||
def test_youtube_format_selection(self):
|
||||
order = [
|
||||
'18',
|
||||
'38', '37', '46', '22', '45', '35', '44', '18', '34', '43', '6', '5', '17', '36', '13',
|
||||
# Apple HTTP Live Streaming
|
||||
'96', '95', '94', '93', '92', '132', '151',
|
||||
# 3D
|
||||
|
@ -356,7 +356,7 @@ class TestFormatSelection(unittest.TestCase):
|
|||
yie._sort_formats(info_dict['formats'])
|
||||
hdl.process_ie_result(info_dict)
|
||||
downloaded = hdl.downloaded_info_dicts[0]
|
||||
self.assertEqual(downloaded['format_id'], '18')
|
||||
self.assertEqual(downloaded['format_id'], '38')
|
||||
|
||||
info_dict = _make_result(list(formats_order), extractor='youtube')
|
||||
hdl = HDL({'format': 'bestvideo/best,bestaudio'})
|
||||
|
|
Loading…
Reference in a new issue