You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Download a file with a non-US url, e.g. http://www.depositfiles.com/de/ID
instead of http://www.depositfiles.com/en/ID.
DepositFiles.pm expects an English page. It tries to fix this with a cookie,
but the cookie it sets is overridden by the /de/ in the URL.
Fix: cut the country code from URLs, e.g.
DepositFiles.pm:
$self->{URL} = $_[2];
+++$self->{URL} =~ s|depositfiles.com/../|depositfiles.com/|g;
With the cookie set, the URL without the country code will be rewritten as /en/
and then the scraping will work.
Original issue reported on code.google.com by [email protected] on 19 Oct 2010 at 3:48
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 19 Oct 2010 at 3:48The text was updated successfully, but these errors were encountered: