Kodi Community Forum
Scraper: Base64 encode for query string - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
+--- Thread: Scraper: Base64 encode for query string (/showthread.php?tid=47118)



Scraper: Base64 encode for query string - Pennywise83 - 2009-03-18

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

scraper? script? plugin?


- Pennywise83 - 2009-03-18

Scraper...


- spiff - 2009-03-18

rite'o. now that we are in the correct room

currently, no. but it could be easily added.


- spiff - 2009-03-18

i have done a diff in the blind (as in i cant be arsed to test it) available at http://trac.xbmc.org/ticket/6101

see if that scratches your itch


- Pennywise83 - 2009-03-18

Omg... spiff, thank you.
Now I understand how xbmc is soo perfect!


base64 - tiben20 - 2009-03-21

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=aHR0cDovL3hibWMub3JnL2ZvcnVtL3Nob3d0aHJlYWQucGhwP3Q9NDcxMTg%3D&hl=0
this is http://forum.xbmc.org/showthread.php?p=299404


- KoTiX - 2010-03-17

re-bump, just in case Spiff forget this one after the lightning strike.
Tnx in advance Smile