-
-
Save sooop/fea6fd17e91739018e3b to your computer and use it in GitHub Desktop.
텀블러 MP3 파일 다운로드
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var _playkey = "e6ba8f023e92bbb5aaf06052cd0c6551"; | |
var _iframes = document.querySelectorAll('iframe'); | |
var _audiourlpattern = new RegExp(/audio_file=[^&]*/g); | |
for(i=0;i<_iframes.length;i++){ | |
var _currentIframe = _iframes[i]; | |
var _audiofileurl = _currentIframe.src.match(_audiourlpattern); | |
if(_audiofileurl){ | |
_audiofileurl = _audiofileurl[0]; | |
_audiofileurl = decodeURIComponent(_audiofileurl) + "?play_key=" + _playkey; | |
_audiofileurl = _audiofileurl.substring(11); | |
var r = prompt("audio file url", _audiofileurl); | |
console.log(r); | |
return false; | |
} | |
} | |
})(); | |
/* | |
javascript:(function(){ var _playkey = "e6ba8f023e92bbb5aaf06052cd0c6551"; var _iframes = document.querySelectorAll('iframe'); var _audiourlpattern = new RegExp(/audio_file=[^&]+/g); for(i=0;i<_iframes.length;i++){ var _currentIframe = _iframes[i]; var _audiofileurl = _currentIframe.src.match(_audiourlpattern); if(_audiofileurl){ _audiofileurl = _audiofileurl[0]; _audiofileurl = decodeURIComponent(_audiofileurl) + "?play_key=" + _playkey; _audiofileurl = _audiofileurl.substring(11); var r = prompt("audio file url", _audiofileurl); console.log(r); return false; } } })(); | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment