Skip to content

Instantly share code, notes, and snippets.

@hijak
Last active August 29, 2015 14:18
Show Gist options
  • Save hijak/84e1632f0998de5bbb8e to your computer and use it in GitHub Desktop.
Save hijak/84e1632f0998de5bbb8e to your computer and use it in GitHub Desktop.
eztv rproxy
var startingPort = 2011
var neoProxy = require('neo-proxy')
var customHTML = '<center><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-9374665233285997" data-ad-slot="9625600444"></ins><script>(adsbygoogle = window.adsbygoogle || []).push({});</script></center></br>'
var batman = neoProxy({
port: startingPort,
target: 'https://eztv.ch',
needle: '<div id="line"></div>',
customHTML: customHTML,
rewriteUrlsHost: 'eztv.proxy'
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment