/column_renderer_list.do It is based on ui_macro.
...
this.getParameter('x-referer');
The value is a URL the request is coming from.
| #!/usr/bin/python | |
| from bs4 import BeautifulSoup | |
| import pycurl | |
| import re | |
| import os | |
| from urllib import urlencode | |
| from io import BytesIO | |
| from StringIO import StringIO | |
| import sys | |
| import redis |
| # Info: To send remote control commands to the Samsung tv over LAN | |
| # The first time your run the push() your TV may ask permission to allow "this" remote to connect | |
| import time | |
| import socket | |
| import base64 | |
| src = '192.168.1.195' # ip of device controling tv | |
| mac = 'b8:27:eb:32:3e:55' # mac of device controling tv | |
| remote = 'python remote' # remote name will be stored on tv |