aboutsummaryrefslogtreecommitdiff
path: root/ptv_client.py
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-04-15 18:04:36 +1000
committerYuchen Pei <hi@ypei.me>2022-04-15 18:04:36 +1000
commit999a1b6cf6553b44e924eeccd90f243504bab2c1 (patch)
treed7c75a5727bf2f7f6ade5973903061e9dea957c1 /ptv_client.py
parent60415a2d640364ff7348d4580995494479203f59 (diff)
Added copyright and licensing notices.
Diffstat (limited to 'ptv_client.py')
-rw-r--r--ptv_client.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/ptv_client.py b/ptv_client.py
index ec89134..180399c 100644
--- a/ptv_client.py
+++ b/ptv_client.py
@@ -1,18 +1,19 @@
# Copyright (C) 2022 Yuchen Pei.
#
-# ptv.py is free software: you can redistribute it and/or modify it
-# under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
+# This file is part of ptvtt.
+#
+# ptvtt is free software: you can redistribute it and/or modify it under
+# the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
-# ptv.py is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Affero General Public License for more details.
+# ptvtt is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General
+# Public License for more details.
# You should have received a copy of the GNU Affero General Public
-# License along with ptv.py. If not, see
-# <https://www.gnu.org/licenses/>.
+# License along with ptvtt. If not, see <https://www.gnu.org/licenses/>.
from hashlib import sha1
from urllib import request, error, parse