Skip to content

Commit

Permalink
Cleans up outdated comment in saarland_scraper
Browse files Browse the repository at this point in the history
references robbi5#119
  • Loading branch information
enricogenauck committed Feb 1, 2019
1 parent 6ed53c1 commit bb95ec7
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions app/scrapers/saarland_scraper.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
require 'date'

#
# Saarland is based on SharePoint. (No idea why anyone thinks thats a sane idea)
#
# Get Version: https://www.landtag-saar.de/_vti_pvt/service.cnf
# # vti_extenderversion:SR|15.0.0.4797
#
# An request to https://www.landtag-saar.de/_vti_bin/ brings us the following header:
# # MicrosoftSharePointTeamServices:15.0.0.4569
#
# So it is an SharePoint 2013.
# But all the interesting endpoints (/_api, /_vti_bin/listdata.svc/) are locked down.
# Sad :(
#
# Update 2017-01-10: They had the clever idea to pack the data as json into one big
# hidden input field.
#
module SaarlandScraper
BASE_URL = 'https://www.landtag-saar.de'
OVERVIEW_URL = BASE_URL + '/umbraco/aawSearchSurfaceController/SearchSurface/GetSearchResults/'
Expand Down Expand Up @@ -133,4 +117,4 @@ def self.extract_paper(entry)
def self.extract_is_answer(entry)
entry['FileName'].starts_with? 'Aw'
end
end
end

0 comments on commit bb95ec7

Please sign in to comment.