soimort-bot / you-get

:arrow_double_down: Dumb downloader that scrapes the web
https://you-get.org/
Other
0 stars 0 forks source link

[Failed] 网易云音乐 #20

Open soimort-bot opened 8 years ago

soimort-bot commented 8 years ago
$ you-get -di 'http://music.163.com/song?id=188204'
you-get: version 0.4.347, a tiny downloader that scrapes the web.
you-get: ['http://music.163.com/song?id=188204']
Traceback (most recent call last):
  File "/home/soimort/Projects/you-get/you-get", line 11, in <module>
    you_get.main(repo_path=_filepath)
  File "/home/soimort/Projects/you-get/src/you_get/__main__.py", line 92, in main
    main(**kwargs)
  File "/home/soimort/Projects/you-get/src/you_get/common.py", line 1266, in main
    script_main('you-get', any_download, any_download_playlist, **kwargs)
  File "/home/soimort/Projects/you-get/src/you_get/common.py", line 1179, in script_main
    download_main(download, download_playlist, args, playlist, output_dir=output_dir, merge=merge, info_only=info_only, json_output=json_output, caption=caption)
  File "/home/soimort/Projects/you-get/src/you_get/common.py", line 1027, in download_main
    download(url, **kwargs)
  File "/home/soimort/Projects/you-get/src/you_get/common.py", line 1259, in any_download
    m.download(url, **kwargs)
  File "/home/soimort/Projects/you-get/src/you_get/extractors/netease.py", line 120, in netease_download
    netease_cloud_music_download(url, output_dir, merge, info_only, **kwargs)
  File "/home/soimort/Projects/you-get/src/you_get/extractors/netease.py", line 66, in netease_cloud_music_download
    netease_song_download(j["songs"][0], output_dir=output_dir, info_only=info_only)
  File "/home/soimort/Projects/you-get/src/you_get/extractors/netease.py", line 97, in netease_song_download
    songNet = 'p' + song['mp3Url'].split('/')[2][1:]
AttributeError: 'NoneType' object has no attribute 'split'
soimort-bot commented 8 years ago

Hey, I got an error too! (you-get=soimort:develop ebdc27bce5f3fcea8da37248e24b5c14d9e10fe7)

$ you-get -di http://music.163.com/song?id=188204
you-get: version 0.4.350, a tiny downloader that scrapes the web.
you-get: ['http://music.163.com/song?id=188204']
Traceback (most recent call last):
  File "./you-get/you-get", line 11, in <module>
    you_get.main(repo_path=_filepath)
  File "./you-get/src/you_get/__main__.py", line 92, in main
    main(**kwargs)
  File "./you-get/src/you_get/common.py", line 1266, in main
    script_main('you-get', any_download, any_download_playlist, **kwargs)
  File "./you-get/src/you_get/common.py", line 1179, in script_main
    download_main(download, download_playlist, args, playlist, output_dir=output_dir, merge=merge, info_only=info_only, json_output=json_output, caption=caption)
  File "./you-get/src/you_get/common.py", line 1027, in download_main
    download(url, **kwargs)
  File "./you-get/src/you_get/common.py", line 1259, in any_download
    m.download(url, **kwargs)
  File "./you-get/src/you_get/extractors/netease.py", line 120, in netease_download
    netease_cloud_music_download(url, output_dir, merge, info_only, **kwargs)
  File "./you-get/src/you_get/extractors/netease.py", line 66, in netease_cloud_music_download
    netease_song_download(j["songs"][0], output_dir=output_dir, info_only=info_only)
  File "./you-get/src/you_get/extractors/netease.py", line 97, in netease_song_download
    songNet = 'p' + song['mp3Url'].split('/')[2][1:]
AttributeError: 'NoneType' object has no attribute 'split'

Python version: 3.5.1 GeoIP location: US, United States Timestamp: 2016-03-21T11:26:27.097Z

soimort-bot commented 8 years ago

@soimort-bot test this one: https://www.youtube.com/watch?v=IPrKLqNAsSY

soimort-bot commented 8 years ago

Nope, it seems not working for me :confounded: (you-get=soimort:develop ebdc27bce5f3fcea8da37248e24b5c14d9e10fe7)

$ you-get -di https://www.youtube.com/watch?v=IPrKLqNAsSY
you-get: [Failed] "This video is not available."

Python version: 3.5.1 GeoIP location: US, United States Timestamp: 2016-03-21T11:29:49.243Z

soimort-bot commented 8 years ago

You are kidding me, @soimort-bot. Try this https://www.youtube.com/watch?v=WsIotYyz1fU

soimort-bot commented 8 years ago

Hi @soimort-bot, it works! :yum: (you-get=soimort:develop ebdc27bce5f3fcea8da37248e24b5c14d9e10fe7)

$ you-get -di https://www.youtube.com/watch?v=WsIotYyz1fU
site:                YouTube
title:               小妹象股高压电,轻轻碰着就过电
streams:             # Available quality and codecs
    [ DASH ] ____________________________________
    - itag:          133
      container:     mp4
      quality:       294x240
      size:          22.7 MiB (23835933 bytes)
    # download-with: you-get --itag=133 [URL]

    - itag:          243
      container:     webm
      quality:       320x262
      size:          20.6 MiB (21564895 bytes)
    # download-with: you-get --itag=243 [URL]

    - itag:          242
      container:     webm
      quality:       294x240
      size:          16.1 MiB (16907325 bytes)
    # download-with: you-get --itag=242 [URL]

    - itag:          160
      container:     mp4
      quality:       176x144
      size:          14.5 MiB (15189834 bytes)
    # download-with: you-get --itag=160 [URL]

    - itag:          278
      container:     webm
      quality:       176x144
      size:          10.5 MiB (11044234 bytes)
    # download-with: you-get --itag=278 [URL]

    [ DEFAULT ] _________________________________
    - itag:          43
      container:     webm
      quality:       medium
      size:          46.5 MiB (48721149 bytes)
    # download-with: you-get --itag=43 [URL]

    - itag:          18
      container:     mp4
      quality:       medium
    # download-with: you-get --itag=18 [URL]

    - itag:          5
      container:     flv
      quality:       small
    # download-with: you-get --itag=5 [URL]

    - itag:          36
      container:     3gp
      quality:       small
    # download-with: you-get --itag=36 [URL]

    - itag:          17
      container:     3gp
      quality:       small
    # download-with: you-get --itag=17 [URL]

Python version: 3.5.1 GeoIP location: US, United States Timestamp: 2016-03-21T11:30:52.512Z

soimort-bot commented 8 years ago

Hi @soimort-bot, it works! :yum: (you-get=soimort:develop ebdc27bce5f3fcea8da37248e24b5c14d9e10fe7)

$ you-get -di https://www.youtube.com/watch?v=WsIotYyz1fU
site:                YouTube
title:               小妹象股高压电,轻轻碰着就过电
streams:             # Available quality and codecs
    [ DASH ] ____________________________________
    - itag:          133
      container:     mp4
      quality:       294x240
      size:          22.7 MiB (23835933 bytes)
    # download-with: you-get --itag=133 [URL]

    - itag:          243
      container:     webm
      quality:       320x262
      size:          20.6 MiB (21564895 bytes)
    # download-with: you-get --itag=243 [URL]

    - itag:          242
      container:     webm
      quality:       294x240
      size:          16.1 MiB (16907325 bytes)
    # download-with: you-get --itag=242 [URL]

    - itag:          160
      container:     mp4
      quality:       176x144
      size:          14.5 MiB (15189834 bytes)
    # download-with: you-get --itag=160 [URL]

    - itag:          278
      container:     webm
      quality:       176x144
      size:          10.5 MiB (11044234 bytes)
    # download-with: you-get --itag=278 [URL]

    [ DEFAULT ] _________________________________
    - itag:          43
      container:     webm
      quality:       medium
      size:          46.5 MiB (48721149 bytes)
    # download-with: you-get --itag=43 [URL]

    - itag:          18
      container:     mp4
      quality:       medium
    # download-with: you-get --itag=18 [URL]

    - itag:          5
      container:     flv
      quality:       small
    # download-with: you-get --itag=5 [URL]

    - itag:          36
      container:     3gp
      quality:       small
    # download-with: you-get --itag=36 [URL]

    - itag:          17
      container:     3gp
      quality:       small
    # download-with: you-get --itag=17 [URL]

Python version: 3.5.1 GeoIP location: US, United States Timestamp: 2016-03-21T12:03:08.595Z