{"id":377,"date":"2026-03-18T20:53:29","date_gmt":"2026-03-18T20:53:29","guid":{"rendered":"https:\/\/zenot.nl\/mechatronica\/webscraping-met-python\/"},"modified":"2026-03-19T08:41:52","modified_gmt":"2026-03-19T08:41:52","slug":"webscraping-met-python","status":"publish","type":"post","link":"https:\/\/zenot.nl\/mechatronica\/webscraping-met-python\/","title":{"rendered":"Webscraping met Python"},"content":{"rendered":"<p>Webscraping met Python<\/p>\n<p>Webscraping automates data collection from internet without browser. Practical example: waste calendar automation for household with four containers (plastic, GFT, paper, rest). Python program on Raspberry Pi Zero sends daily email\/SMS message which container should be placed on the street. Hardware: Raspberry Pi Zero (\u20ac10) with WiFi and internet access, Python3 standard in Raspbian Linux. Software: crontab scheduler runs program daily, smtplib sends email, urllib visits website, Beautiful Soup library formats\/organizes HTML parsing. Program analyzes waste calendar website (afvalkalender.dar.nl\/adres\/postcode:nummer), bs.find_all(class_=&#8217;date&#8217;) searches <date> tags, procedure sendmail() sends email on collection day. Alternative: Google Chrome browser developer tools show desired data in HTML tags for webscraping. Complete example code with imports (datetime, smtplib, locale, urllib, Beautiful Soup), sendMail() function and analyseer() main procedure.<\/p>\n<h3>Project Details<\/h3>\n<ul>\n<li><strong>Type:<\/strong> Electronics &amp; Microcontroller Project<\/li>\n<li><strong>Category:<\/strong> Electronics<\/li>\n<\/ul>\n<h3>Download Project PDF<\/h3>\n<p><a href=\"https:\/\/zenot.nl\/mechatronica\/wp-content\/uploads\/2026\/03\/Webscraping-met-Python.pdf\" class=\"wp-block-button__link\" download>Download Full Project PDF<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Webscraping met Python<\/p>\n<p>Webscraping automates data collection from internet without browser. Practical example: waste calendar automation for household with four containers (plastic, GFT, paper, rest)<\/p>\n","protected":false},"author":1,"featured_media":350,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-377","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics"],"_links":{"self":[{"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/posts\/377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/comments?post=377"}],"version-history":[{"count":1,"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/posts\/377\/revisions"}],"predecessor-version":[{"id":380,"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/posts\/377\/revisions\/380"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/media\/350"}],"wp:attachment":[{"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/media?parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/categories?post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zenot.nl\/mechatronica\/wp-json\/wp\/v2\/tags?post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}