Initial commit
This commit is contained in:
commit
b0b016a4d9
37 changed files with 2447 additions and 0 deletions
14
code/ep2023-scrapy.py
Normal file
14
code/ep2023-scrapy.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
import scrapy
|
||||
|
||||
|
||||
class EuroPython2023Spider(scrapy.Spider):
|
||||
name = "europython"
|
||||
|
||||
start_urls = [
|
||||
"https://ep2023.europython.eu/sessions",
|
||||
"https://ep2023.europython.eu/tutorials",
|
||||
]
|
||||
|
||||
def parse(self, response):
|
||||
for session in response.css("h2 a::text").getall():
|
||||
yield {"title": session}
|
Loading…
Add table
Add a link
Reference in a new issue