Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hiro
GetTor
Commits
d630e7a6
Commit
d630e7a6
authored
May 22, 2019
by
Hiro
🏄
Browse files
Update add_links_to_db script
parent
f298d624
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/add_lins_to_db
View file @
d630e7a6
...
...
@@ -55,7 +55,7 @@ def main():
webFile
=
request
.
urlopen
(
"https://www.torproject.org/projects/torbrowser/RecommendedTBBVersions/"
)
versions
=
webFile
.
read
().
decode
(
'utf-8'
).
translate
({
ord
(
c
):
None
for
c
in
'[]
\n
" '
})
version
=
versions
.
split
(
","
)[
4
]
version
=
versions
.
split
(
","
)[
0
]
providers
=
{
"gitlab"
:
"https://gitlab.com/thetorproject/gettorbrowser/raw/releases/"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment