<div dir="ltr">Boa noite pessoal, estou fazendo um webcrawler para salvar um arquivo ate ai tudo bem, mas quero que ao mesmo tempo que faz download do site de origem faça download do meu também. <div>Estou usando WWW::Mechanize.</div>

<div><br></div><div>ate aqui eu consegui</div><div><code style="font-size:12.727272033691406px;line-height:15.35511302947998px;background-color:rgb(250,250,250);white-space:pre-wrap;margin:0px!important;padding:0px!important;border:0px!important;vertical-align:baseline!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;float:none!important;min-height:auto!important;outline:0px!important;overflow:visible!important;width:auto!important;min-height:inherit!important;color:rgb(170,119,0)!important">$mech</code><code style="width:auto!important;background-color:rgb(250,250,250);border-top-left-radius:0px!important;outline:0px!important;min-height:inherit!important;padding:0px!important;float:none!important;vertical-align:baseline!important;line-height:15.35511302947998px;border-top-right-radius:0px!important;overflow:visible!important;font-size:12.727272033691406px;border-bottom-right-radius:0px!important;white-space:pre-wrap;margin:0px!important;border:0px!important;background-image:none!important;border-bottom-left-radius:0px!important">->get( </code><code style="font-size:12.727272033691406px;line-height:15.35511302947998px;background-color:rgb(250,250,250);white-space:pre-wrap;margin:0px!important;padding:0px!important;border:0px!important;vertical-align:baseline!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;float:none!important;min-height:auto!important;outline:0px!important;overflow:visible!important;width:auto!important;min-height:inherit!important;color:rgb(170,119,0)!important">$uri</code><code style="width:auto!important;background-color:rgb(250,250,250);border-top-left-radius:0px!important;outline:0px!important;min-height:inherit!important;padding:0px!important;float:none!important;vertical-align:baseline!important;line-height:15.35511302947998px;border-top-right-radius:0px!important;overflow:visible!important;font-size:12.727272033691406px;border-bottom-right-radius:0px!important;white-space:pre-wrap;margin:0px!important;border:0px!important;background-image:none!important;border-bottom-left-radius:0px!important">, </code><code style="font-size:12.727272033691406px;line-height:15.35511302947998px;background-color:rgb(250,250,250);white-space:pre-wrap;margin:0px!important;padding:0px!important;border:0px!important;vertical-align:baseline!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;float:none!important;min-height:auto!important;outline:0px!important;overflow:visible!important;width:auto!important;min-height:inherit!important;color:blue!important">':content_file'</code><span style="line-height:15.35511302947998px;font-size:12.727272033691406px;background-color:rgb(250,250,250);white-space:pre-wrap;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace"> </span><code style="width:auto!important;background-color:rgb(250,250,250);border-top-left-radius:0px!important;outline:0px!important;min-height:inherit!important;padding:0px!important;float:none!important;vertical-align:baseline!important;line-height:15.35511302947998px;border-top-right-radius:0px!important;overflow:visible!important;font-size:12.727272033691406px;border-bottom-right-radius:0px!important;white-space:pre-wrap;margin:0px!important;border:0px!important;background-image:none!important;border-bottom-left-radius:0px!important">=> </code><code style="font-size:12.727272033691406px;line-height:15.35511302947998px;background-color:rgb(250,250,250);white-space:pre-wrap;margin:0px!important;padding:0px!important;border:0px!important;vertical-align:baseline!important;border-top-left-radius:0px!important;border-top-right-radius:0px!important;border-bottom-right-radius:0px!important;border-bottom-left-radius:0px!important;background-image:none!important;float:none!important;min-height:auto!important;outline:0px!important;overflow:visible!important;width:auto!important;min-height:inherit!important"><font color="#aa7700">'file.avi'</font></code><span style="line-height:15.35511302947998px;font-size:12.727272033691406px;background-color:rgb(250,250,250);white-space:pre-wrap;font-family:Consolas,'Bitstream Vera Sans Mono','Courier New',Courier,monospace"> </span><code style="width:auto!important;background-color:rgb(250,250,250);border-top-left-radius:0px!important;outline:0px!important;min-height:inherit!important;padding:0px!important;float:none!important;vertical-align:baseline!important;line-height:15.35511302947998px;border-top-right-radius:0px!important;overflow:visible!important;font-size:12.727272033691406px;border-bottom-right-radius:0px!important;white-space:pre-wrap;margin:0px!important;border:0px!important;background-image:none!important;border-bottom-left-radius:0px!important">);</code><br>

</div><div><code style="width:auto!important;background-color:rgb(250,250,250);border-top-left-radius:0px!important;outline:0px!important;min-height:inherit!important;padding:0px!important;float:none!important;vertical-align:baseline!important;line-height:15.35511302947998px;border-top-right-radius:0px!important;overflow:visible!important;font-size:12.727272033691406px;border-bottom-right-radius:0px!important;white-space:pre-wrap;margin:0px!important;border:0px!important;background-image:none!important;border-bottom-left-radius:0px!important"><span style="color:rgb(0,0,0);font-size:small"><br>
</span></code></div><div><code style="width:auto!important;background-color:rgb(250,250,250);border-top-left-radius:0px!important;outline:0px!important;min-height:inherit!important;padding:0px!important;float:none!important;vertical-align:baseline!important;line-height:15.35511302947998px;border-top-right-radius:0px!important;overflow:visible!important;font-size:12.727272033691406px;border-bottom-right-radius:0px!important;white-space:pre-wrap;margin:0px!important;border:0px!important;background-image:none!important;border-bottom-left-radius:0px!important"><span style="color:rgb(0,0,0);font-size:small">ao invés de salvar no diretório, fazer download no meu site ao mesmo tempo que faz download do site de origem, isso é possível?</span><br>
</code></div><div><code style="width:auto!important;background-color:rgb(250,250,250);border-top-left-radius:0px!important;outline:0px!important;min-height:inherit!important;padding:0px!important;float:none!important;vertical-align:baseline!important;line-height:15.35511302947998px;border-top-right-radius:0px!important;overflow:visible!important;font-size:12.727272033691406px;border-bottom-right-radius:0px!important;white-space:pre-wrap;margin:0px!important;border:0px!important;background-image:none!important;border-bottom-left-radius:0px!important"><span style="color:rgb(0,0,0);font-size:small"><br>
</span></code></div><div><font color="#000000" face="monospace"><span style="line-height:15.34375px;white-space:pre-wrap">desde já eu agradeço.</span></font></div><div><font color="#000000" face="monospace"><span style="line-height:15.34375px;white-space:pre-wrap"><br>
</span></font></div><div><font color="#000000" face="monospace"><span style="line-height:15.34375px;white-space:pre-wrap"><br></span></font></div>
<div><font color="#000000" face="monospace"><span style="line-height:15.34375px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="monospace"><span style="line-height:15.34375px;white-space:pre-wrap"><br>

</span></font></div></div>