Scraper: Base64 encode for query string

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Pennywise83 Offline
Junior Member
Posts: 6
Joined: Mar 2009
Reputation: 0
Lightbulb  Scraper: Base64 encode for query string
Post: #1
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?
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #2
scraper? script? plugin?
find quote
Pennywise83 Offline
Junior Member
Posts: 6
Joined: Mar 2009
Reputation: 0
Post: #3
Scraper...
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #4
rite'o. now that we are in the correct room

currently, no. but it could be easily added.
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #5
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
find quote
Pennywise83 Offline
Junior Member
Posts: 6
Joined: Mar 2009
Reputation: 0
Post: #6
Omg... spiff, thank you.
Now I understand how xbmc is soo perfect!
find quote
tiben20 Offline
Team-XBMC Developer
Posts: 1,029
Joined: Jun 2008
Reputation: 18
Post: #7
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....Tg%3D&hl=0
this is http://forum.xbmc.org/showthread.php?p=299404
find quote
KoTiX Offline
Fan
Posts: 518
Joined: Jun 2004
Reputation: 6
Post: #8
re-bump, just in case Spiff forget this one after the lightning strike.
Tnx in advance Smile
find quote