Commits

sirex  committed 6619a3d Draft

Added licence header to all source files.

  • Participants
  • Parent commits 1a352c9

Comments (0)

Files changed (5)

+# This file is part of scrapy-vrk.
+#
+# scrapy-vrk 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.
+#
+# scrapy-vrk 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 scrapy-vrk. If not, see <http://www.gnu.org/licenses/>.
+
+
 env/bin/scrapy: env/bin/python
 	env/bin/pip install scrapy
 

File src/vrk/items.py

 # coding: utf-8
 
+# This file is part of scrapy-vrk.
+#
+# scrapy-vrk 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.
+#
+# scrapy-vrk 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 scrapy-vrk. If not, see <http://www.gnu.org/licenses/>.
+
 import string
 
 from functools import partial

File src/vrk/linkextractors.py

+# This file is part of scrapy-vrk.
+#
+# scrapy-vrk 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.
+#
+# scrapy-vrk 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 scrapy-vrk. If not, see <http://www.gnu.org/licenses/>.
+
 from urlparse import urljoin
 
 import lxml.html

File src/vrk/pipelines.py

-# Define your item pipelines here
+# This file is part of scrapy-vrk.
 #
-# Don't forget to add your pipeline to the ITEM_PIPELINES setting
-# See: http://doc.scrapy.org/topics/item-pipeline.html
+# scrapy-vrk 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.
+#
+# scrapy-vrk 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 scrapy-vrk. If not, see <http://www.gnu.org/licenses/>.
 
-from scrapy import signals
 from scrapy.contrib.exporter import CsvItemExporter
 
 

File src/vrk/spiders/votingresults-2012-1.py

 # coding: utf-8
 
+# This file is part of scrapy-vrk.
+#
+# scrapy-vrk 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.
+#
+# scrapy-vrk 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 scrapy-vrk. If not, see <http://www.gnu.org/licenses/>.
+
 """
 
 set makeprg=../env/bin/scrapy\ parse\ --spider=voting-results-2012-1\ --callback=parse_constituency\ 'http://www.vrk.lt/2012_seimo_rinkimai/output_lt/rezultatai_daugiamand_apygardose/rezultatai_daugiamand_apygardose1turas.html'