althonos / althonos/InstaLooter
media_count parameter doesn't work on PostLooter.download
- Ngôn ngữ chính
- Python
- Star
- 2.1k
- Fork
- 257
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## Library version
```
instalooter 2.3.4
```
## Environment
* *Ubuntu 18.04*
* *Python 3.6.6*
## Error description - runtime
I would like to download only a single image from a post with multiple images. I used the `media_count` parameter from the corresponding method but it doesn't work. I still get all images from the given post.
### Reproducible test case
```python
from instalooter.looters import PostLooter
looter = PostLooter(
'BwKSVVVArhP',
get_videos=True,
jobs=1,
template="{code}_{id}",
)
looter.download(media_count=1, destination='.')
```
### Expected behaviour
*Download a single image from given post*
### Actual behaviour
*Download all images from given post*
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.