PDA

View Full Version : Scraper: Base64 encode for query string


Pennywise83
2009-03-18, 02:01
Hi guys,
I'm approaching to the xbmc development and I want to make a new scraper for the Tv Series.

Unfortunately the website that i want to scrape uses a base64 encoded string as query string.

For example, i I search for "Lost" I get this url:
http://myscrapesite.com/search.php?q=bG9zdA==

where "bG9zdA==" is "Lost" encoded in base64.

There is a way to pass a base64 encoded value to the rss?

spiff
2009-03-18, 02:04
scraper? script? plugin?

Pennywise83
2009-03-18, 02:06
Scraper...

spiff
2009-03-18, 02:21
rite'o. now that we are in the correct room

currently, no. but it could be easily added.

spiff
2009-03-18, 02:56
i have done a diff in the blind (as in i cant be arsed to test it) available at http://xbmc.org/trac/ticket/6101

see if that scratches your itch

Pennywise83
2009-03-18, 02:59
Omg... spiff, thank you.
Now I understand how xbmc is soo perfect!

tiben20
2009-03-21, 07:13
the nice thing about a base64 function is you can use phproxy for retrieving info from your website
example http://www.c-h-o-c-o-l-a-t-e.info/index.php?q=aHR0cDovL3hibWMub3JnL2ZvcnVtL3Nob3d0aH JlYWQucGhwP3Q9NDcxMTg%3D&hl=0
this is http://xbmc.org/forum/showthread.php?p=299404