This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__author__ = 'richie' | |
# -*- coding: utf-8 -*- | |
import urllib, urllib2, cookielib, re, os, codecs, time, subprocess,sys,json | |
#import simplejson as json | |
import dateutil | |
class cnzz(object): | |
def __init__(self, username = '', password = '',othername=''): | |
self.__username = username | |
self.__othername = othername | |
self.__password = password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
const traceurl = require('traceurl'); | |
var url =require('url'); | |
var server = http.createServer(function (request, response) { | |
response.writeHead(200, {"Content-Type": "text/plain"}); | |
//console.log("request"+url.parse(request.url).query); | |
var urlreq=url.parse(request.url,true).query; | |
if(urlreq!=''){ | |
if(urlreq.url){ |