kleineanfragen icon indicating copy to clipboard operation
kleineanfragen copied to clipboard

Update Saarland

Open robbi5 opened this issue 6 years ago • 2 comments

They changed their website again, this time it even doesn't look like Sharepoint anymore.

Overview:

POST https://www.landtag-saar.de/umbraco/aawSearchSurfaceController/SearchSurface/GetSearchResults/
Accept application/json, text/javascript, */*; q=0.01

{"Filter":{"Periods":[]},"Pageination":{"Skip":0,"Take":10},"Sections":{"Print":true},"Sort":{"SortType":0,"SortValue":0},"OnlyTitle":false,"Value":"","CurrentSearchTab":0}

Detail:

POST https://www.landtag-saar.de/umbraco/aawSearchSurfaceController/SearchSurface/GetSearchResults/
Accept application/json, text/javascript, */*; q=0.01

{"Filter":{"Periods":[]},"Pageination":{"Skip":0,"Take":10},"Sections":{"Print":true},"Sort":{"SortType":0,"SortValue":0},"OnlyTitle":false,"Value":"","CurrentSearchTab":1,"KendoFilter":{"filters":[{"field":"DocumentNumber","operator":"startswith","value":"16/1234"}],"logic":"and"}}

robbi5 avatar Jan 08 '19 07:01 robbi5

Hi @robbi5,

I tried to take a quick stab at fixing the saarland scraper without touching to much of the existing code. I'm pretty confident about the overview_scraper part. But since this is my first contact with the code base I'm not sure how to proceed any further. Are pull requests your preferred method of contribution?

Unfortunately I'm not able to test the scraper and the changes in more depth with my current knowledge of the code base.

enricogenauck avatar Jan 31 '19 09:01 enricogenauck

Hi @enricogenauck, wow. thank you very much for the contribution - yes, a pull request would be great. Don't worry about not being able to test the scraper, i'll try it out and also have a look at the detail scraper. btw, thanks for introducing webmock into the project :)

robbi5 avatar Jan 31 '19 13:01 robbi5