behrooz1xX / rapidleech

Automatically exported from code.google.com/p/rapidleech
0 stars 0 forks source link

curl function effect turbobit plugins download #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the latest plugin http://www.box.net/shared/qv7eydlxpv
2. Sample link: http://turbobit.net/mq3ae0kquqt3.html
3. Free Download
4. Unexpected result: Forbidden access from turbobit Reason: Web browser is 
changed.

What is the expected output? What do you see instead?
It should be download as normal

What version of the product are you using? On what operating system?
The latest svn - Apache2 - Php 5.2.6

Please provide any additional information below.

Recommend put $cURL as global variable, should be initialize in config.php so 
far we can overwrite it (disabled curl) when we don't want to use curl function.

Original issue reported on code.google.com by vuduyho...@gmail.com on 5 Feb 2012 at 6:18

GoogleCodeExporter commented 8 years ago
I forget to change the os showed in the User-Agent at curl function...

Getpage says it's Windows 7
and curl says it's Windows XP

Find: "Windows NT 5.1"
Change 5.1 with 6.1: "Windows NT 6.1"

i will test again after the 260 seconds of wait time for check if it works.

Original comment by hedel822 on 5 Feb 2012 at 7:42

GoogleCodeExporter commented 8 years ago
It don't work at the second try...
So i have added the headers sended by getpage and now works fine. (After more 
than 3000 seconds of wait for test. :D)

I will send a .patch to RVT

Original comment by hedel822 on 5 Feb 2012 at 9:18

GoogleCodeExporter commented 8 years ago
my mistake, i took a look at user-agent but didn't notice 5.1 and 6.1 :)

Original comment by vuduyho...@gmail.com on 6 Feb 2012 at 12:59

GoogleCodeExporter commented 8 years ago
ok hoang, I've added the patch by Th3-822, I also have test that in all OOP 
format download plugin (some of the plugin is outdated, need to fix).

Original comment by ruudvtony on 7 Feb 2012 at 6:00

GoogleCodeExporter commented 8 years ago
please do you can added vk.com upload/download plugins? Thanks.

Original comment by sunce...@gmail.com on 11 Feb 2012 at 12:35

GoogleCodeExporter commented 8 years ago
You should kindly use forum for request new plugins, but vk.com it is a social 
networks, isn't it ?

Original comment by vuduyho...@gmail.com on 11 Feb 2012 at 1:46

GoogleCodeExporter commented 8 years ago
I left the forum, but the request does not match one day. vk.com is a social 
network but allows uploading video films and large scale.

Original comment by sunce...@gmail.com on 11 Feb 2012 at 1:53

GoogleCodeExporter commented 8 years ago
Yes, we only need upload to vk.com =)

Original comment by AdeL.Arr...@gmail.com on 13 Apr 2012 at 6:05