.png)
나는 언급하고 있었다이 질문. 그런데 curl
.
지금까지 나는 다음을 시도했습니다.
curl -O output.rar --referer http://subs.sab.bz/ 'http://subs.sab.bz/index.php?s=ece2929c25861a7244025e1628e7ee5a&act=download&attach_id=75766'
스위치 로도 해봤는데 -e
잘 안되네요. 누구든지 나를 도와줄 수 있나요?
미리 감사드립니다!!
답변1
나는 다음과 같은 경우에 그것을 발견했습니다.
url='http://subs.sab.bz/index.php?s=ece2929c25861a7244025e1628e7ee5a&act=download&attach_id=75766'
curl -e "$url" "$url" >out.rar
그러면 다음과 같이 할 수 있습니다.
unrar e out.rar
결과는 다음과 같습니다.
Extracting from out.rar
Extracting Dominion.S01E01.720p.HDTV.X264-DIMENSION.srt OK
Extracting Dominion.S01E01.HDTV.x264-LOL.srt OK
Extracting Dominion.S01E01.HDTV.XviD-AFG.srt OK
Extracting - README - subs.sab.bz - Brought to you by xen.headoff.com -.html
OK
All OK
그래서 다운로드 링크 자체를 리퍼러로 받아들이는 것이 완벽할 것 같습니다.