Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(0)  |  Derive(0)  |  Import(5)

src/s/i/Sick-Beard-HEAD/sickbeard/classes.py   Sick-Beard(Download)
import datetime
 
from common import USER_AGENT, Quality
 
class SickBeardURLopener(urllib.FancyURLopener):
    version = USER_AGENT

src/n/o/NOT_UPDATED_Sick-Beard-Dutch-HEAD/sickbeard/classes.py   NOT_UPDATED_Sick-Beard-Dutch(Download)
import datetime
 
from common import USER_AGENT, Quality
 
class SickBeardURLopener(urllib.FancyURLopener):
    version = USER_AGENT

src/b/t/btcx-HEAD/btcx/btce.py   btcx(Download)
                "Key": [self.key],
                "Sign": [sign.hexdigest()],
                "User-Agent": [common.USER_AGENT],
        })
        d = treq.post('%s/tapi' % self.host, data=call_p, headers=headers)

src/b/t/btcx-HEAD/btcx/http.py   btcx(Download)
from twisted.web.http_headers import Headers
 
from common import USER_AGENT
 
 
    def http_call(self, urlpart, cb, **kwargs):
        headers = Headers({"User-Agent": [USER_AGENT]})
        d = treq.get('%s/%s' % (self.host, urlpart),
                params=kwargs, headers=headers)
        d.addCallback(lambda response: self.decode_or_error(

src/m/y/mylar-HEAD/mylar/classes.py   mylar(Download)
import datetime
 
from common import USER_AGENT
 
class mylarURLopener(urllib.FancyURLopener):
    version = USER_AGENT

src/h/e/headphones-HEAD/headphones/classes.py   headphones(Download)
import datetime
 
from common import USER_AGENT
 
class HeadphonesURLopener(urllib.FancyURLopener):
    version = USER_AGENT