Skip to content

Commit

Permalink
Merge pull request #42 from openeduhub/new_lrt_hotfix
Browse files Browse the repository at this point in the history
grundschulkoenig_spider v0.0.5 (Copyright hotfix)
  • Loading branch information
Criamos authored Jun 27, 2022
2 parents f9247c2 + d1fa8c2 commit 6ca576b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions converter/spiders/grundschulkoenig_spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class GrundSchulKoenigSpider(CrawlSpider, LomBase):

start_urls = ['https://www.grundschulkoenig.de/sitemap.xml?sitemap=pages&cHash=b8e1a6633393d69093d0ebe93a3d2616']
name = 'grundschulkoenig_spider'
version = "0.0.4" # last update: 2022-05-06
version = "0.0.5" # last update: 2022-06-27
custom_settings = {
"ROBOTSTXT_OBEY": False,
# while there is no robots.txt, there is a 404-forward-page that gets misinterpreted by Scrapy
Expand Down Expand Up @@ -187,7 +187,7 @@ def parse(self, response: scrapy.http.HtmlResponse, sitemap_entry: SitemapEntry
base.add_value("valuespaces", vs.load_item())

lic = LicenseItemLoader()
lic.add_value('url', Constants.LICENSE_COPYRIGHT_LAW)
lic.add_value('internal', Constants.LICENSE_COPYRIGHT_LAW)
base.add_value("license", lic.load_item())

permissions = super().getPermissions(response)
Expand Down

0 comments on commit 6ca576b

Please sign in to comment.