Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for piapro #5856

Open
quozbogv opened this issue May 30, 2015 · 1 comment · May be fixed by #12905
Open

Add support for piapro #5856

quozbogv opened this issue May 30, 2015 · 1 comment · May be fixed by #12905

Comments

@quozbogv
Copy link

@quozbogv quozbogv commented May 30, 2015

piapro is a Japanese website made for hosting VOCALOID-based media, mainly images, audio, and text.

Example URLs for audio:
http://piapro.jp/content/es7uj48x6bvcbtgy (old-style URL, still functional)
http://piapro.jp/t/KToM (current URL style)

Two types of audio quality, download and streaming. Very similar to #5839, for the download needs one to be logged in, while the streaming doesn't.

Download: http://piapro.jp/download/?id=es7uj48x6bvcbtgy&view=content
Streaming: http://c1.piapro.jp/amp3/es7uj48x6bvcbtgy_20100116020522_audition.mp3

The "es7uj48x6bvcbtgy" and "20100116020522" parts can both be derived solely from the HTML source:

<input type="hidden" name="id" value="es7uj48x6bvcbtgy">
                                      ~~~~~~~~~~~~~~~~
<a class="link_songle" href="http://songle.jp/songs/piapro.jp%2Ft%2FKToM%2F20100116020522" target="_blank">http://songle.jp/songs/piapro.jp%2Ft%2FKToM%2F20100116020522</a>
                                                                           ~~~~~~~~~~~~~~                                                                ~~~~~~~~~~~~~~

It might be ethical for youtube-dl to have the user know of the license agreement for a song, which is contained in <ul class="plc">.

@dset0x dset0x linked a pull request that will close this issue Apr 28, 2017
4 of 8 tasks complete
@szc126
Copy link

@szc126 szc126 commented Sep 1, 2019

I believe I have written a working and sufficiently comprehensive solution (piapro.py).

  • There are still XXXs and TODOs.
  • It also has the ability to download images, texts, and 3D models that are also hosted on piapro. This is probably very unorthodox, but adding the extra support was nearly effortless, and PiaproIE thus covers all 4 upload types. I hope that it is alright.
  • I have also written a PiaproUserIE.

I humbly await a review and suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.