From 2aa4329286f4fb1be38558ee487781b3934efc41 Mon Sep 17 00:00:00 2001 From: daniel-Jones Date: Sat, 10 Mar 2018 20:04:09 +1030 Subject: added GPL licence information --- urlopen.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'urlopen.py') diff --git a/urlopen.py b/urlopen.py index 760f961..23aaa53 100755 --- a/urlopen.py +++ b/urlopen.py @@ -1,4 +1,20 @@ #!/usr/bin/env python2.7 + +# Copyright Daniel Jones 2018 +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + import sys, os; from urlparse import urlparse; def run(process, arg): @@ -10,7 +26,7 @@ def run(process, arg): def main(args): images = ["jpg", "png"]; imageapp = ["feh"]; - videos = ["gif", "gifv", "webm", "mp4"]; videoapp = ["mpv", "--loop"]; + videos = ["gif", "gifv", "webm", "mp4"]; videoapp = ["mpv", "--ytdl-format=22", "--loop"]; #--yt-dlformat=22 videourls = ["youtube.com", "youtu.be", "streamable.com"]; pdf = ["pdf"]; pdfapp = ["mupdf"]; defaultapp = ["/home/daniel_j/compiled/waterfox/waterfox"]; -- cgit v1.2.3