Check-in [d9a4e95fc9]
Overview
| Comment: | Add more detailed user-agent string, introduce conf.version (from pmd) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
d9a4e95fc91c083da13cf09c8e9733cd |
| User & Date: | mario on 2020-05-21 11:54:03 |
| Other Links: | manifest | tags |
Context
|
2020-05-21
| ||
| 11:54 | safeguard wiki/links retrieval check-in: 3ab6b3fa94 user: mario tags: trunk | |
| 11:54 | Add more detailed user-agent string, introduce conf.version (from pmd) check-in: d9a4e95fc9 user: mario tags: trunk | |
|
2020-05-20
| ||
| 07:02 | Remove *.js remnants again from help/html/ check-in: 6d04cfab23 user: mario tags: trunk | |
Changes
Modified ahttp.py from [e3550d5d4c] to [70322b0ca9].
| ︙ | |||
11 12 13 14 15 16 17 | 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | - + - - + + + + + + + + - + + - + | # Provides a http "GET" method, but also does POST and AJAX- # simulating requests too. Hooks into mains gtk.statusbar(). # And can normalize URLs to always carry a trailing slash # after the domain name. from config import * |
| ︙ |
Modified channels/useragentswitcher.py from [71f46e84c4] to [f18e75e82e].
| ︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - + |
# override ahttp.session headers, hooks into config dialog
class useragentswitcher():
module = 'useragentswitcher'
meta = plugin_meta()
map = {
|
| ︙ |
Modified config.py from [0fccb051e3] to [f8ba9ac1af].
| ︙ | |||
98 99 100 101 102 103 104 105 106 107 108 109 110 111 | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | + + + + |
del last["share"]
self.update(last)
self.migrate()
# store defaults in file
else:
self.save("settings")
self.firstrun = 1
try:
self.version = plugin_meta(frame=3).get("version", "2.2")
except Exception as e:
self.version = "2.2"
# temporary files
if not os.path.exists(self.tmp):
os.mkdir(self.tmp)
# add argv
self.args = self.init_args(argparse.ArgumentParser())
|
| ︙ |