معرفی شرکت ها


basketcase-4.0.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Download images and videos from Instagram
ویژگی مقدار
سیستم عامل -
نام فایل basketcase-4.0.0
نام basketcase
نسخه کتابخانه 4.0.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Douglas Silva <doug.hs@protonmail.ch>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/basketcase/
مجوز Copyright (c) 2021-2022 Douglas Silva Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# BasketCase Download images and videos from Instagram. ## Installation Install it from [PyPI](https://pypi.org/project/basketcase/). ```sh pip install basketcase ``` > This will put the executable `basketcase` on your PATH. ## Usage ```sh basketcase -u "https://instagram.com/p/<post_id>" ``` > Downloaded resources will be stored in the current working directory (i.e. `$PWD/basketcase_{timestamp}/`). To download from multiple URLs, create a text file (e.g. `basketcase.txt`) and populate it with resource URLs ``` https://instagram.com/p/<post_id> https://instagram.com/reel/<reel_id> https://instagram.com/<username> ``` ```sh basketcase -f ./basketcase.txt ``` ### Supported URLs | Supported URL | Description | | --- | --- | | `https://instagram.com/<username>` | User profile. Downloads stories from the past 24 hours. | | `https://instagram.com/p/<post_id>` | Standard publication. | | `https://instagram.com/reel/<reel_id>` | Reels movie | | `https://www.instagram.com/stories/highlights/<highlight_id>/` | A collection of stories, or "highlights" | | `https://www.instagram.com/s/<random_characters>` | A shorter type of URL | ### Authentication 1. Add a session cookie ```sh basketcase --cookie <session_cookie_id> --cookie-name "my session cookie" # Added session id: 1 ``` 2. Specify its identifier when downloading ```sh basketcase -s 1 ``` > List all available sessions with `basketcase -l` ## User data Cookies and other application data are kept in `~/.basketcase`. ## Development setup 1. `cd` to the project root and create a virtual environment in a directory named `venv`, which is conveniently ignored in version control. 2. Install the dependencies. ```sh pip install -r requirements.txt ``` 3. Install this package in editable mode. ```sh pip install -e . ``` ### Package build and upload 1. Update the requirements list. ```sh pip freeze --exclude-editable > requirements.txt ``` 2. Increment the version on `pyproject.toml`. 3. Build the package. ```sh hatch build ``` 4. Commit and push the changes (and a new version tag) to the git repository. 5. Publish it. ```sh hatch publish ```


نیازمندی

مقدار نام
- pillow~=9.4.0
- requests~=2.28.2
- yt-dlp==2023.1.6


زبان مورد نیاز

مقدار نام
>=3.8 Python


نحوه نصب


نصب پکیج whl basketcase-4.0.0:

    pip install basketcase-4.0.0.whl


نصب پکیج tar.gz basketcase-4.0.0:

    pip install basketcase-4.0.0.tar.gz