Home
last modified time | relevance | path

Searched refs:urllib2 (Results 151 – 175 of 2205) sorted by relevance

12345678910>>...89

/dports/textproc/py-feedparser/feedparser-6.0.8/docs/
H A Dhttp-authentication.rst50 HTTPBasicAuthHandler is part of the standard `urllib2 <http://docs.python.org/lib/module-urllib2.ht…
57 import urllib2, feedparser
60 auth = urllib2.HTTPBasicAuthHandler()
64 # urllib2 will sort out which passwords get sent to which sites
70 # type of handler (urllib2 defines lots of different ones,
89 import urllib2, feedparser
91 auth = urllib2.HTTPDigestAuthHandler()
113 :file:`urllib2` module will handle it for you.
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/wrench/script/
H A Dbenchmark_server.py10 import urllib2
50 req = urllib2.Request(URL,
54 f = urllib2.urlopen(req)
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/wrench/script/
H A Dbenchmark_server.py10 import urllib2
50 req = urllib2.Request(URL,
54 f = urllib2.urlopen(req)
/dports/www/firefox/firefox-99.0/gfx/wr/wrench/script/
H A Dbenchmark_server.py10 import urllib2
50 req = urllib2.Request(URL,
54 f = urllib2.urlopen(req)
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/wrench/script/
H A Dbenchmark_server.py10 import urllib2
50 req = urllib2.Request(URL,
54 f = urllib2.urlopen(req)
/dports/net-mgmt/pmacct/pmacct-1.7.5/examples/kafka/
H A Dkafka_consumer.py21 import sys, os, getopt, StringIO, time, urllib2
50 urllib2.urlopen(http_req, value)
51 except urllib2.HTTPError, err:
54 except urllib2.URLError, err:
196 http_req = urllib2.Request(http_url_post)
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/test/chromedriver/server/
H A Dserver.py11 import urllib2
111 urllib2.urlopen(self.GetUrl() + '/status')
113 except urllib2.URLError:
122 urllib2.urlopen(self.GetUrl() + '/shutdown', timeout=10).close()
/dports/misc/py-pykml/pykml-0.2.0/src/pykml/
H A Dparser.py9 import urllib2
11 import urllib.request as urllib2 namespace
27 f = urllib2.urlopen(schema)
97 fileobject = urllib2.urlopen(uri)
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/mozbase/mozhttpd/tests/
H A Dpaths.py10 import urllib2
16 f = urllib2.urlopen(url)
21 with self.assertRaises(urllib2.HTTPError) as cm:
22 urllib2.urlopen(url)
/dports/devel/binaryen/binaryen-version_98/scripts/
H A Dstorage.py22 import urllib2
30 downloaded = urllib2.urlopen(STORAGE_BASE + name).read().strip()
49 f.write(urllib2.urlopen(STORAGE_BASE + tar_pattern % revision).read())
/dports/lang/spidermonkey60/firefox-60.9.0/testing/web-platform/tests/tools/six/documentation/
H A Dindex.rst679 and :mod:`py2:urllib2`:
681 * :exc:`py2:urllib2.URLError`
682 * :exc:`py2:urllib2.HTTPError`
704 and :mod:`py2:urllib2`:
706 * :func:`py2:urllib2.urlopen`
708 * :func:`py2:urllib2.build_opener`
709 * :class:`py2:urllib2.Request`
715 * :class:`py2:urllib2.BaseHandler`
724 * :class:`py2:urllib2.HTTPHandler`
726 * :class:`py2:urllib2.FileHandler`
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/web-platform/tests/tools/six/documentation/
H A Dindex.rst679 and :mod:`py2:urllib2`:
681 * :exc:`py2:urllib2.URLError`
682 * :exc:`py2:urllib2.HTTPError`
704 and :mod:`py2:urllib2`:
706 * :func:`py2:urllib2.urlopen`
708 * :func:`py2:urllib2.build_opener`
709 * :class:`py2:urllib2.Request`
715 * :class:`py2:urllib2.BaseHandler`
724 * :class:`py2:urllib2.HTTPHandler`
726 * :class:`py2:urllib2.FileHandler`
[all …]
/dports/multimedia/py-periscope/py38-periscope-0.2.4_4/periscope/plugins/
H A DSubScene.py19 import zipfile, os, urllib2, urllib, logging, traceback, httplib
90 page = urllib2.urlopen(subpage)
146 …req = urllib2.Request(url, headers={'Referer' : url, 'User-Agent' : 'Mozilla/5.0 (X11; U; Linux x8…
148 …f = urllib2.urlopen(req, data=urllib.urlencode({'__EVENTTARGET' : 's$lc$bcr$downloadLink', '__EVEN…
166 page = urllib2.urlopen(searchurl)
/dports/sysutils/sd-agent/sd-agent-1.13.4/
H A Dlogtail.py20 import urllib2
144 request = urllib2.Request(
151 response = urllib2.urlopen(request)
159 except urllib2.HTTPError, e:
164 except urllib2.URLError, e:
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client_sdk/src/tools/tests/
H A Dchrome_mock.py11 import urllib2
36 urllib2.urlopen(options.url, data='').read()
38 urllib2.urlopen(options.url).read()
/dports/www/firefox-legacy/firefox-52.8.0esr/tools/
H A Dmach_commands.py152 import urllib2
210 req = urllib2.Request(URL, data)
211 response = urllib2.urlopen(req)
218 except urllib2.URLError:
231 import urllib2
259 except urllib2.HTTPError as e:
300 data = urllib2.urlopen(url=u).read()
/dports/lang/spidermonkey60/firefox-60.9.0/testing/mozbase/mozhttpd/tests/
H A Dpaths.py12 import urllib2
20 f = urllib2.urlopen(url)
25 with self.assertRaises(urllib2.HTTPError) as cm:
26 urllib2.urlopen(url)
/dports/devel/ros-rosdistro/rosdistro-0.7.5/src/rosdistro/
H A Dloader.py41 from urllib2 import urlopen
42 from urllib2 import HTTPError
43 from urllib2 import URLError
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/web-platform/tests/tools/wptserve/tests/functional/
H A Dtest_server.py2 import urllib2
9 with self.assertRaises(urllib2.HTTPError) as cm:
35 with self.assertRaises(urllib2.HTTPError) as cm:
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/installer/linux/rpm/
H A Dupdate_package_provides.py13 import urllib2
99 source = urllib2.urlopen(source).geturl()
101 response = urllib2.urlopen(source + "repodata/repomd.xml")
109 response = urllib2.urlopen(primary)
/dports/sysutils/intel-pcm/pcm-202109/
H A Dpmu-query.py2 import urllib2
30 map_file_raw=urllib2.urlopen('https://download.01.org/perfmon/mapfile.csv')
60 json_core_data=urllib2.urlopen('https://download.01.org/perfmon'+core_path)
70 json_offcore_data=urllib2.urlopen('https://download.01.org/perfmon'+offcore_path)
/dports/www/py-mechanize/mechanize-0.4.7/
H A DPKG-INFO42 mechanize.Browser implements the urllib2.OpenerDirector interface. Browser
46 urllib2: your urllib2 program will likely still work if you replace "urllib2"
56 (WWW::Mechanize). urllib2 was written by Jeremy Hylton.
/dports/www/py-mechanize/mechanize-0.4.7/mechanize.egg-info/
H A DPKG-INFO42 mechanize.Browser implements the urllib2.OpenerDirector interface. Browser
46 urllib2: your urllib2 program will likely still work if you replace "urllib2"
56 (WWW::Mechanize). urllib2 was written by Jeremy Hylton.
/dports/www/chromium-legacy/chromium-88.0.4324.182/build/android/pylib/results/flakiness_dashboard/
H A Djson_results_generator.py16 import urllib2
377 (urllib2.quote(self._test_results_server),
378 urllib2.quote(self._builder_name),
380 urllib2.quote(self._test_type),
381 urllib2.quote(self._master_name)))
386 results_file = urllib2.urlopen(results_file_url)
388 except urllib2.HTTPError as http_error:
393 except urllib2.URLError as url_error:
645 request = urllib2.Request(self._url, data,
647 return urllib2.urlopen(request)
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/build/android/pylib/results/flakiness_dashboard/
H A Djson_results_generator.py16 import urllib2
377 (urllib2.quote(self._test_results_server),
378 urllib2.quote(self._builder_name),
380 urllib2.quote(self._test_type),
381 urllib2.quote(self._master_name)))
386 results_file = urllib2.urlopen(results_file_url)
388 except urllib2.HTTPError as http_error:
393 except urllib2.URLError as url_error:
645 request = urllib2.Request(self._url, data,
647 return urllib2.urlopen(request)
[all …]

12345678910>>...89