Commit graph

41 commits

Author SHA1 Message Date
j
08636ba81a update ua 2024-07-08 13:26:48 +01:00
j
e850296f68 download to tmp file and rename once download is complete 2024-03-22 08:48:48 +01:00
j
bf34774533 requests is always required now 2023-07-27 18:07:49 +02:00
j
adad3be419 drop six and python2 support 2023-07-27 13:07:13 +02:00
j
0df326eaf8 use default headers with requests backend 2020-06-06 11:41:43 +02:00
j
cc1bad76cd update user agent 2019-08-03 23:35:16 +02:00
j
aaf30c35a0 avoid reading file to ram in ox.net.save_url 2018-12-29 11:36:47 +01:00
j
35534254c3 simple title detection (imdb) 2017-08-02 16:48:22 +02:00
j
5153c08698 remove with_statement(for 2.5) from __future__ 2016-08-23 18:12:46 +02:00
j
4e7898ae57 avoid dict as default value 2016-06-08 15:30:25 +02:00
j
2681536b08 use PY2 2016-01-14 17:09:10 +05:30
j
4a8717ee76 update user agent 2015-11-03 23:15:57 +01:00
j
72f34f2a60 fix net.oshash for small files 2015-03-19 18:57:50 +05:30
j
79df151729 dont create current dir 2014-12-09 13:11:09 +01:00
j
2d467ea6c6 fix utf-8 urls 2014-10-06 08:22:25 +02:00
j
865e94da22 add ox.cache.get_json/ox.net.get_json, fixes #2451 2014-10-05 13:24:14 +02:00
j
f630877098 fix GET 2014-10-04 21:07:18 +02:00
j
a3c470847d fix POST in py3 2014-10-04 21:04:55 +02:00
j
37dfed3143 more python3 cleanups 2014-10-02 10:28:22 +02:00
j
d4d09b56b6 use six to support python 2 and 3 2014-09-30 21:04:46 +02:00
j
87a89f0594 update user-agent string 2014-03-19 10:47:15 +01:00
j
74a9b812b0 update user agent, fixes #1894 2013-09-27 18:14:34 +02:00
j
f535b82e7b faster and more reliable encoding detection of html content 2013-06-01 13:29:24 +02:00
j
3165e3a8b1 fix unicode detection 2013-06-01 13:21:13 +02:00
j
3b7b87a89f match charset in lower case 2012-10-19 14:22:39 +02:00
j
46f9b36851 update usera agent 2012-09-23 12:01:12 +02:00
j
c69a2ee825 detect html5 encoding 2012-09-22 20:57:40 +02:00
j
8ba74a1e4b fix some failing tests 2012-09-09 19:28:11 +02:00
j
3a0c35372d convert some left over readUrls to read_url 2012-09-06 13:25:57 +02:00
j
61b14e9537 add read_url debug output 2012-08-21 08:41:25 +02:00
j
62f5e84642 fix ox.cache.read_url 2012-08-17 22:20:35 +02:00
j
2de989e188 net/cache readUrl->read_url / Unicode -> unicode=True
format replace all CammelCase with under_score
2012-08-14 15:58:05 +02:00
j
e471e050ad add ox.net.oshash 2012-04-30 10:40:10 +02:00
j
55a43b2d0a upgrade bot to FF 7 2011-10-14 12:42:28 +02:00
j
c66787785f net.readUrlUnicode can take data, headers too 2011-04-26 23:11:24 +02:00
j
269086d349 new user agent, fix path 2010-09-01 19:57:29 +02:00
j
c97dce9431 update useragent 2010-08-12 23:35:31 +02:00
j
0d354d2574 rename, use namespaces 2010-07-08 00:34:04 +02:00
j
cff20af4e7 back to oxlib, package_dir does not work with pip/python setup.py develop 2009-10-12 17:21:05 +02:00
j
8d14cf2291 change api, getUrl -> readUrl 2009-10-11 15:03:00 +02:00
j
d14f13faaf install as ox 2009-10-11 14:53:50 +02:00
Renamed from oxlib/net.py (Browse further)