Post Reply 
Issue with megaupload
Oct. 17, 2009, 12:35 AM
Post: #1
Issue with megaupload
Hi, the "Megaupload: Skip Download Timer, Enlarge Captcha 09.03.21 [sd] (d.s)" filter in the latest sidki config set isn't working like it is supposed to anymore.
The download timer is skipped and the captcha is enlarged but instead of downloading the file, it downloads a small text/html file... something like "index.html?d=0V0QUBFR"
Test Link
Add Thank You Quote this message in a reply
Oct. 17, 2009, 10:32 PM
Post: #2
RE: Issue with megaupload
(Oct. 17, 2009 12:35 AM)maxbaggi Wrote:  Hi, the "Megaupload: Skip Download Timer, Enlarge Captcha 09.03.21 [sd] (d.s)" filter in the latest sidki config set isn't working like it is supposed to anymore.

Are you sure the problem isn't the site?
When I checked, Friday night and Saturday morning US central time,
The site seemed to be unreliable and overloaded.
Sometimes it did work, I think anyway.

(Oct. 17, 2009 12:35 AM)maxbaggi Wrote:  it downloads a small text/html file... something like "index.html?d=0V0QUBFR"

When it didn't work, I was redirected to the captcha page or an error page.
IIRC, when I was offered a download I got the file.

What was in the "index.html?d=0V0QUBFR" file?
Add Thank You Quote this message in a reply
Oct. 18, 2009, 04:35 AM
Post: #3
RE: Issue with megaupload
MU have now implemented a server-side timer check, so there's no longer any point in killing the 45sec timer.

changing sidkis filter from this

Code:
[Patterns]
Name = "Megaupload - Skip Download Timer, Enlarge Captcha [sidki]"
Active = TRUE
URL = "$TYPE(htm)(www.|)megaupload.com/"
Limit = 64
Match = "count=[#2:*](^(^; function))$SET(1=count=1)"
        "|<img(^(^ src=$AV(*/gencap.*)))$SET(1=<img width="129" height="65")"
Replace = "\1"

to this

Code:
[Patterns]
Name = "Megaupload - Skip Download Timer, Enlarge Captcha [sidki]"
Active = TRUE
URL = "$TYPE(htm)(www.|)megaupload.com/"
Limit = 64
Match = "<img(^(^ src=$AV(*/gencap.*)))$SET(1=<img width="129" height="65")"
Replace = "\1"

works

but i expect there's a better way

you clever filter makers might even include this captcha code

it works in firefox but not in opera, even with this gm emulator

i don't know if it's even possible with proxo though
Add Thank You Quote this message in a reply
Oct. 18, 2009, 08:05 AM
Post: #4
RE: Issue with megaupload
Indeed there's the server-side counter.

I've made some changes to the filter to make it automatically start the download after the counter reaches 0:

Code:
[Patterns]
Name = "Megaupload: Skip Download Timer, Enlarge Captcha     09.03.21 [sd] (d.s)"
Active = TRUE
URL = "$TST(hCT=*html)(www.|)megaupload.com/"
Limit = 64
Match = "if\(count == 0\) {$SET(1=if(count == 0) { \r\n\t\t\t\tlocation.href = document.getElementById('downloadlink').childNodes[0].href;);"
        "|<img(^(^ src=$AV(*/gencap.*)))$SET(1=<img width="129" height="65")"
Replace = "\1"

Note that I had to add (http://www.|)megaupload.com/?d= $SET(0=i_timer:2.) under Exceptions-U to allow the setTimeout function for this filter to work.
Visit this user's website
Add Thank You Quote this message in a reply
Oct. 18, 2009, 08:07 AM
Post: #5
RE: Issue with megaupload
(Oct. 18, 2009 04:35 AM)proxylikey Wrote:  MU have now implemented a server-side timer check, so there's no longer any point in killing the 45sec timer.

From http://prxbx.com/forums/showthread.php?t...9#pid11829

proxylikey Wrote:even if they change to a server-side timer it would be handy to be able to grab the link into a download manager ready for when the timer expires
Add Thank You Quote this message in a reply
Oct. 18, 2009, 08:45 AM (This post was last modified: Oct. 18, 2009 08:49 AM by Kye-U.)
Post: #6
RE: Issue with megaupload
Haha, here's a nice compromise:

Code:
[Patterns]
Name = "Megaupload: Skip Download Timer, Enlarge Captcha     09.03.21 [sd] (d.s)"
Active = TRUE
URL = "$TST(hCT=*html)(www.|)megaupload.com/"
Limit = 64
Match = "count=([#2:*])\2(^(^; function))$SET(1=prxDownloadLink = document.getElementById('downloadlink').childNodes[0].href;\r\n\t"
        "document.getElementById('downloadcounter').innerHTML += '<a href="' + prxDownloadLink + '" style="padding-left: 95px;"><b>Direct Link</b></a>';\r\n\tcount=\2)"
        "|if\(count == 0\) {$SET(1=if(count == 0) { \r\n\t\t\t\tlocation.href = prxDownloadLink;);"
        "|<img(^(^ src=$AV(*/gencap.*)))$SET(1=<img width="129" height="65")"
Replace = "\1"

This adds a "Direct Link" link underneath the countdown text. When the counter reaches 0, the Regular Download button appears and the download automatically starts. If you don't want it to autostart, just take out the |if\(count == 0\)... line in the filter.

EDIT: I just noticed the name of our WIP filter should be updated Wink
Visit this user's website
Add Thank You Quote this message in a reply
Oct. 19, 2009, 02:52 AM
Post: #7
RE: Issue with megaupload
thanks Kye-U, that is a great compromise Smile!

i had to change
Code:
URL = "$TST(hCT=*html)(www.|)megaupload.com/"
to
Code:
URL = "$TYPE(htm)(www.|)megaupload.com/"
to make it work (is that an alpha config thing?)

and i already had
Code:
$SET(0=i_timer:2.a_adcont_s.a_adimg.)  $SET(sUserFn=§hasFlash§)
in my IncludeExclude.ptxt though i forget where that came from

you didn't fancy a shot at the captcha code, then? Whistling
Add Thank You Quote this message in a reply
Oct. 19, 2009, 09:18 AM
Post: #8
RE: Issue with megaupload
(Oct. 19, 2009 02:52 AM)proxylikey Wrote:  ... (is that an alpha config thing?)

correct, the "hCT" thingie is an alpha thing and you are correct with your replacement for non-alpha configs...
Add Thank You Quote this message in a reply
Oct. 28, 2009, 07:16 PM
Post: #9
RE: Issue with megaupload
Thanks for the heads-up. Smile!

I've added back $SET(0=i_timer:2.). Now that the "instant download" comfort is no more, i think the filter is better suited as stand-alone add-on for those using MegaUpload frequently.

The original request was for a stand-alone filter anyway: http://prxbx.com/forums/showthread.php?tid=1321
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: