audioscrape-0.0.4
توضیحات
Scrape audio from various websites with a simple command-line interface.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | audioscrape-0.0.4 |
| نام | audioscrape |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Carl Thomé |
| ایمیل نویسنده | carlthome@gmail.com |
| آدرس صفحه اصلی | https://github.com/carlthome/audio-scraper |
| آدرس اینترنتی | https://pypi.org/project/audioscrape/ |
| مجوز | MIT |
Audio Scraper
=============
|Build Status| |PyPI| |PyPI| |license|
Scrape audio from various websites with a simple command-line interface.
Install
=======
First make sure Python and pip are installed, then run:
.. code:: sh
pip install audioscrape
Usage
=====
.. code:: sh
audioscrape "acoustic guitar"
See ``audioscrape --help`` for more details.
Python API
----------
You could also use the scraper directly in Python, as:
.. code:: py
import audioscrape
audioscrape.download(query='Cerulean Crayons',
include=['guitar'],
exclude=['remix'],
quiet=True)
SoundCloud API key and download limits
--------------------------------------
This program uses SoundCloud's official Python API which requires a
registered API key. SoundCloud says an API key can be used for 15,000
requests per any 24-hour time window, and a key has been included in the
program. However, in case the key stops working, register another one
`as described by SoundCloud
here <https://github.com/soundcloud/soundcloud-python#basic-use>`__, and
use the scraper after setting the environment variable
``SOUNDCLOUD_API_KEY``, as
``SOUNDCLOUD_API_KEY="your_key" audioscrape "piano music"``.
.. |Build Status| image:: https://travis-ci.org/carlthome/audio-scraper.svg?branch=master
:target: https://travis-ci.org/carlthome/audio-scraper
.. |PyPI| image:: https://img.shields.io/pypi/v/audioscrape.svg
:target: https://pypi.python.org/pypi/audioscrape
.. |PyPI| image:: https://img.shields.io/pypi/pyversions/audioscrape.svg
:target: http://py3readiness.org/
.. |license| image:: https://img.shields.io/github/license/mashape/apistatus.svg
:target: LICENSE
نحوه نصب
نصب پکیج whl audioscrape-0.0.4:
pip install audioscrape-0.0.4.whl
نصب پکیج tar.gz audioscrape-0.0.4:
pip install audioscrape-0.0.4.tar.gz