vdeku / anarchintosh-projects

Automatically exported from code.google.com/p/anarchintosh-projects
0 stars 0 forks source link

Icefilms 180upload Captcha Text From solvemedia not Displayed #189

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Find a movie that is hosted on 180upload 
2. Choose to play the movie 
3. A "solvemedia" image is displayed, screen keyboard appears later 

What is the expected output? What do you see instead?
Instead of the "solvemedia" image a captcha image should be displayed which 
must be answered to successfully play the video stream.

What version of the product are you using? On what operating system?
Icefilms 1.1.34 on openelec.tv 3.06 (generic/i686/Linux 3.7.10)

Please provide any additional information below.
Seems that the page source was changed, but the issue can be easily fixed in 
default.py in method resolve_180upload, in particular replace line 526 
(open(puzzle_...)) with the following three lines (see attached file for a 
diff): 

imgframe=re.search('<iframe src="(.+?)"', html)
html = net.http_GET("http://api.solvemedia.com%s" % imgframe.group(1)).content
open(puzzle_img, 
'wb').write(base64.b64decode(re.search('<img.+?src="data:img/gif;base64,((.|\s)+
?)"', html).group(1)))

Original issue reported on code.google.com by meine.bu...@gmail.com on 28 Aug 2013 at 8:29

Attachments:

GoogleCodeExporter commented 9 years ago
You say the file is called default.py, but where is this file located?

Original comment by ldfeich...@googlemail.com on 6 Mar 2014 at 9:13