Exemplo n.º 1
0
 def __init__(self):
     self.net = Net()
     self.desktopHeaders = {
         'User-Agent': RAND_UA,
         'Accept':
         'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
         'Accept-Language': 'en-US,en;q=0.5',
         'DNT': '1'
     }
Exemplo n.º 2
0
 def __init__(self):
     self.net = Net()
     self.desktopHeaders = {
         'User-Agent': RAND_UA,
         'Accept': '*/*',
         'Accept-Language': 'en-US,en;q=0.5',
         'X-Requested-With': 'XMLHttpRequest',
         'DNT': '1'
     }
Exemplo n.º 3
0
 def __init__(self):
     self.net = Net()
     self.net.set_user_agent(RAND_UA)
     self.desktopHeaders = {
         'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
         'Accept-Language': 'en-US,en;q=0.5',
         'Upgrade-Insecure-Requests': '1',
         'DNT': '1'
     }