{"action":"created","issue":{"url":"https://api.github.com/repos/lukapusic/soundcloud-dl/issues/121","labels_url":"https://api.github.com/repos/lukapusic/soundcloud-dl/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/lukapusic/soundcloud-dl/issues/121/comments","events_url":"https://api.github.com/repos/lukapusic/soundcloud-dl/issues/121/events","html_url":"https://github.com/lukapusic/soundcloud-dl/issues/121","id":111292273,"number":121,"title":"curl: (3) <url> malformed","user":{"login":"spaceone","id":1100188,"avatar_url":"https://avatars.githubusercontent.com/u/1100188?v=3","gravatar_id":"","url":"https://api.github.com/users/spaceone","html_url":"https://github.com/spaceone","followers_url":"https://api.github.com/users/spaceone/followers","following_url":"https://api.github.com/users/spaceone/following{/other_user}","gists_url":"https://api.github.com/users/spaceone/gists{/gist_id}","starred_url":"https://api.github.com/users/spaceone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spaceone/subscriptions","organizations_url":"https://api.github.com/users/spaceone/orgs","repos_url":"https://api.github.com/users/spaceone/repos","events_url":"https://api.github.com/users/spaceone/events{/privacy}","received_events_url":"https://api.github.com/users/spaceone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-13T23:27:53Z","updated_at":"2015-11-05T04:52:12Z","closed_at":null,"body":"+ echo ' *---------------------------------------------------------------------------*'\r\n *---------------------------------------------------------------------------*\r\n+ echo '|               SoundcloudMusicDownloader           |   FlyinGrub rework      |'\r\n|               SoundcloudMusicDownloader           |   FlyinGrub rework      |\r\n+ echo ' *---------------------------------------------------------------------------*'\r\n *---------------------------------------------------------------------------*\r\n+ init\r\n+ writags=1\r\n+ default_offset=0\r\n+ onlyrepost=0\r\n+ CreateFolders=0\r\n+ CreateFolders=0\r\n+ NoArtistInSong=0\r\n+ DivideChar=0\r\n+ cont=exit\r\n+ continue_info=exit\r\n+ number='^[0-9]+$'\r\n+ logVerbosity=3\r\n+ config\r\n+ '[' -f //home/arch/.scdl.cfg ']'\r\n+ source //home/arch/.scdl.cfg\r\n++ pathtomusic=path\r\n++ clientID=b45b1aa10f1ac2941910a7f0d10f8e28\r\n+ get_arg -l https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n+ getopts crskmado:l:p:hdq opt\r\n+ case $opt in\r\n+ userLink=https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n+ getopts crskmado:l:p:hdq opt\r\n+ shift 2\r\n+ [[ https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego == '' ]]\r\n+ check_sys\r\n+ command -v curl\r\n+ command -v eyeD3\r\n+ cut -c-21\r\n++ curl -V\r\n+ log 4 Using curl 7.44.0 '(x86_64-unknown-linux-gnu)' libcurl/7.44.0 OpenSSL/1.0.2d zlib/1.2.8 libidn/1.32 libssh2/1.6.0 Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets\r\n+ local level\r\n+ level=4\r\n+ shift\r\n+ [[ 4 -le 3 ]]\r\n+ cd path\r\nscdl: Zeile 427: cd: path: Datei oder Verzeichnis nicht gefunden\r\n++ echo https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n++ cut -d '?' -f 1\r\n++ sed 's-.*soundcloud.com/-https://soundcloud.com/-'\r\n+ soundurl=https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n+ log 3 'Using URL : https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego'\r\n+ local level\r\n+ level=3\r\n+ shift\r\n+ [[ 3 -le 3 ]]\r\n+ case \"$level\" in\r\n+ echo -n '[i]'\r\n[i]+ echo ' Using URL : https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego'\r\n Using URL : https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n++ cut -d / -f 4\r\n++ echo https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n+ d1=raschid-daniel-sidgi\r\n++ echo https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n++ cut -d / -f 5\r\n+ d2=rasputin-mc-sidique-das-ego\r\n++ echo https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n++ cut -d / -f 6\r\n+ d3=\r\n+ log 3 'Path where i will download music : path'\r\n+ local level\r\n+ level=3\r\n+ shift\r\n+ [[ 3 -le 3 ]]\r\n+ case \"$level\" in\r\n+ echo -n '[i]'\r\n[i]+ echo ' Path where i will download music : path'\r\n Path where i will download music : path\r\n+ log 3 'I will exit if i found a file that already exist'\r\n+ local level\r\n+ level=3\r\n+ shift\r\n+ [[ 3 -le 3 ]]\r\n+ case \"$level\" in\r\n+ echo -n '[i]'\r\n[i]+ echo ' I will exit if i found a file that already exist'\r\n I will exit if i found a file that already exist\r\n+ [[ 0 == \\1 ]]\r\n+ [[ '' == \\1 ]]\r\n+ [[ 0 == \\1 ]]\r\n+ [[ 0 != \\0 ]]\r\n+ log 4 'Using clientID : b45b1aa10f1ac2941910a7f0d10f8e28'\r\n+ local level\r\n+ level=4\r\n+ shift\r\n+ [[ 4 -le 3 ]]\r\n++ grep -m1 eye\r\n++ eyeD3 --version\r\n++ cut -d ' ' -f -2\r\ngrep: warning: GREP_OPTIONS is deprecated; please use an alias or script\r\n+ log 4 'Using eyeD3' 0.7.8-final\r\n+ local level\r\n+ level=4\r\n+ shift\r\n+ [[ 4 -le 3 ]]\r\n+ [[ raschid-daniel-sidgi == '' ]]\r\n+ [[ raschid-daniel-sidgi == \\g\\r\\o\\u\\p\\s ]]\r\n+ [[ rasputin-mc-sidique-das-ego == \\l\\i\\k\\e\\s ]]\r\n+ [[ rasputin-mc-sidique-das-ego == '' ]]\r\n+ [[ rasputin-mc-sidique-das-ego == \\s\\e\\t\\s ]]\r\n+ [[ rasputin-mc-sidique-das-ego == \\s\\e\\t\\s ]]\r\n+ log 3 'Detected download type : One single song'\r\n+ local level\r\n+ level=3\r\n+ shift\r\n+ [[ 3 -le 3 ]]\r\n+ case \"$level\" in\r\n+ echo -n '[i]'\r\n[i]+ echo ' Detected download type : One single song'\r\n Detected download type : One single song\r\n+ downsong https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n+ url=https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego\r\n+ overrideartist=\r\n+ log 3 'Grabbing artists page'\r\n+ local level\r\n+ level=3\r\n+ shift\r\n+ [[ 3 -le 3 ]]\r\n+ case \"$level\" in\r\n+ echo -n '[i]'\r\n[i]+ echo ' Grabbing artists page'\r\n Grabbing artists page\r\n+ log 4 'https://api.soundcloud.com/resolve.json?url=https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego&client_id=b45b1aa10f1ac2941910a7f0d10f8e28'\r\n+ local level\r\n+ level=4\r\n+ shift\r\n+ [[ 4 -le 3 ]]\r\n++ CURL 'https://api.soundcloud.com/resolve.json?url=https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego&client_id=b45b1aa10f1ac2941910a7f0d10f8e28'\r\n++ tr , '\\n'\r\n++ curl -L -s --user-agent Mozilla/5.0 'https://api.soundcloud.com/resolve.json?url=https://soundcloud.com/raschid-daniel-sidgi/rasputin-mc-sidique-das-ego&client_id=b45b1aa10f1ac2941910a7f0d10f8e28'\r\n++ cut -d : -f 2\r\n++ sed -n 2p\r\n+ songID=\r\n+ log 4 'songID is : '\r\n+ local level\r\n+ level=4\r\n+ shift\r\n+ [[ 4 -le 3 ]]\r\n+ fromjsontomp3 '' b45b1aa10f1ac2941910a7f0d10f8e28 '' ''\r\n+ setfileartist=\r\n+ setname=\r\n+ clientID=b45b1aa10f1ac2941910a7f0d10f8e28\r\n+ songID=\r\n+ log 4 'https://api.soundcloud.com/tracks/.json?client_id=b45b1aa10f1ac2941910a7f0d10f8e28'\r\n+ local level\r\n+ level=4\r\n+ shift\r\n+ [[ 4 -le 3 ]]\r\n++ CURL 'https://api.soundcloud.com/tracks/.json?client_id=b45b1aa10f1ac2941910a7f0d10f8e28'\r\n++ curl -L -s --user-agent Mozilla/5.0 'https://api.soundcloud.com/tracks/.json?client_id=b45b1aa10f1ac2941910a7f0d10f8e28'\r\n++ tr , '\\n'\r\n+ songinfo='{\"errors\":[{\"error_message\":\"401 - Unauthorized\"}]}'\r\n++ printf '%s\\n' '{\"errors\":[{\"error_message\":\"401 - Unauthorized\"}]}'\r\n++ grep '\"title\"'\r\n++ cut -c 10-\r\n++ rev\r\ngrep: warning: GREP_OPTIONS is deprecated; please use an alias or script\r\n++ rev\r\n++ tr '\\/:*?|<>' ________\r\n++ cut -c 2-\r\n+ title=\r\n++ echo -e '{\"errors\":[{\"error_message\":\"401 - Unauthorized\"}]}'\r\n++ grep stream_url\r\n++ cut -d '\"' -f 4\r\ngrep: warning: GREP_OPTIONS is deprecated; please use an alias or script\r\n+ songurl=\r\n++ echo -e '?client_id=b45b1aa10f1ac2941910a7f0d10f8e28'\r\n+ realsongurl='?client_id=b45b1aa10f1ac2941910a7f0d10f8e28'\r\n++ echo -e '{\"errors\":[{\"error_message\":\"401 - Unauthorized\"}]}'\r\n++ grep username\r\n++ cut -d '\"' -f 4\r\ngrep: warning: GREP_OPTIONS is deprecated; please use an alias or script\r\n+ artist=\r\n+ '[' -z ']'\r\n+ account=\r\n+ [[ -n 0==1 ]]\r\n+ re='^([^-]+)-(.*)$'\r\n+ [[ '' =~ ^([^-]+)-(.*)$ ]]\r\n+ log 4 'Costom Artist from Title: '\r\n+ local level\r\n+ level=4\r\n+ shift\r\n+ [[ 4 -le 3 ]]\r\n+ log 4 'Costom Title: '\r\n+ local level\r\n+ level=4\r\n+ shift\r\n+ [[ 4 -le 3 ]]\r\n+ [[ '' =~ '' ]]\r\n++ printf %s.mp3 ''\r\n+ filename=.mp3\r\n++ echo -e '{\"errors\":[{\"error_message\":\"401 - Unauthorized\"}]}'\r\n++ grep artwork_url\r\n++ sed s/large/t500x500/g\r\n++ cut -d '\"' -f 4\r\ngrep: warning: GREP_OPTIONS is deprecated; please use an alias or script\r\n+ imageurl=\r\n++ grep genre\r\n++ echo -e '{\"errors\":[{\"error_message\":\"401 - Unauthorized\"}]}'\r\n++ cut -d '\"' -f 4\r\ngrep: warning: GREP_OPTIONS is deprecated; please use an alias or script\r\n+ genre=\r\n++ echo -e '{\"errors\":[{\"error_message\":\"401 - Unauthorized\"}]}'\r\n++ grep -m2 permalink_url\r\n++ tail -n1\r\n++ cut -d '\"' -f 4\r\ngrep: warning: GREP_OPTIONS is deprecated; please use an alias or script\r\n+ songpermalink=\r\n+ log 4 'Track permalink_url : '\r\n+ local level\r\n+ level=4\r\n+ shift\r\n+ [[ 4 -le 3 ]]\r\n+ '[' -e .mp3 ']'\r\n+ [[ 0 == \\1 ]]\r\n+ [[ 0 == \\1 ]]\r\n+ echo '[-] Downloading ...'\r\n[-] Downloading ...\r\n++ echo -e .mp3\r\n+ curl -# -L --user-agent Mozilla/5.0 -o .mp3 '?client_id=b45b1aa10f1ac2941910a7f0d10f8e28'\r\ncurl: (3) <url> malformed\r\n+ settags '' '' .mp3 '' '' ''\r\n+ local artist=\r\n+ local title=\r\n+ local filename=.mp3\r\n+ local genre=\r\n+ local imageurl=\r\n+ local album=\r\n+ curl -s -L --user-agent Mozilla/5.0 '' -o /tmp/1.jpg\r\n+ '[' 1 = 1 ']'\r\n+ eyeD3 --remove-all .mp3\r\n++ date +%Y\r\n+ eyeD3 --add-image=/tmp/1.jpg:ILLUSTRATION --add-image=/tmp/1.jpg:OTHER --add-image=/tmp/1.jpg:MEDIA --add-image=/tmp/1.jpg:ICON --add-image=/tmp/1.jpg:MEDIA --add-image=/tmp/1.jpg:OTHER_ICON --add-image=/tmp/1.jpg:FRONT_COVER --artist= -Y 2015 --genre= --title= --album= --v2 .mp3\r\n+ log 3 'Setting tags finished!'\r\n+ local level\r\n+ level=3\r\n+ shift\r\n+ [[ 3 -le 3 ]]\r\n+ case \"$level\" in\r\n+ echo -n '[i]'\r\n[i]+ echo ' Setting tags finished!'\r\n Setting tags finished!\r\n+ echo -e '[i] Downloading of .mp3 finished'\r\n[i] Downloading of .mp3 finished\r\n+ [[ 0 == \\1 ]]\r\n"},"comment":{"url":"https://api.github.com/repos/lukapusic/soundcloud-dl/issues/comments/153956378","html_url":"https://github.com/lukapusic/soundcloud-dl/issues/121#issuecomment-153956378","issue_url":"https://api.github.com/repos/lukapusic/soundcloud-dl/issues/121","id":153956378,"user":{"login":"moredillon","id":3780995,"avatar_url":"https://avatars.githubusercontent.com/u/3780995?v=3","gravatar_id":"","url":"https://api.github.com/users/moredillon","html_url":"https://github.com/moredillon","followers_url":"https://api.github.com/users/moredillon/followers","following_url":"https://api.github.com/users/moredillon/following{/other_user}","gists_url":"https://api.github.com/users/moredillon/gists{/gist_id}","starred_url":"https://api.github.com/users/moredillon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moredillon/subscriptions","organizations_url":"https://api.github.com/users/moredillon/orgs","repos_url":"https://api.github.com/users/moredillon/repos","events_url":"https://api.github.com/users/moredillon/events{/privacy}","received_events_url":"https://api.github.com/users/moredillon/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T04:52:12Z","updated_at":"2015-11-05T04:52:12Z","body":"You need to create your own fresh client ID (soundcloud.com/you/apps/new) and replace the non-fuctioning client ID in the .scdl.cfg file in your $HOME (~) directory"}}