diff --git a/hepcrawl/spiders/pos_spider.py b/hepcrawl/spiders/pos_spider.py index 3fcdab5a..64b455f0 100644 --- a/hepcrawl/spiders/pos_spider.py +++ b/hepcrawl/spiders/pos_spider.py @@ -72,8 +72,9 @@ def parse(self, response): # Probably all links lead to same place, so take first conference_paper_url = "{0}{1}".format(self.BASE_CONFERENCE_PAPER_URL, identifier) request = Request(conference_paper_url, callback=self.scrape_conference_paper) - request.meta["url"] = response.url - request.meta["record"] = record.extract() + request.meta['url'] = response.url + request.meta['record'] = record.extract() + request.meta['identifier'] = identifier yield request def scrape_conference_paper(self, response): @@ -83,24 +84,48 @@ def scrape_conference_paper(self, response): response=response, ) - # TODO Yield request for Conference page - proceedings_identifier = response.selector.xpath("//a[contains(@href,'?confid')]/@href").extract_first() - proceedings_identifier = proceedings_identifier.split('=')[1] - pos_url = "{0}{1}".format(self.BASE_PROCEEDINGS_URL, proceedings_identifier) + # Scrape proceedings record + pos_url = self._get_proceedings_url(response) self.log('===> scrape_conference_paper url::{pos_url}'.format(**vars())) - # yield Request(pos_url, callback=self.scrape_proceedings) + meta = { + 'identifier': response.meta.get('identifier'), + } + yield Request( + pos_url, + callback=self.scrape_proceedings, + meta=meta, + ) yield self.build_conference_paper_item(response) def scrape_proceedings(self, response): - # TODO create proceedings record - # TODO document_type = proceeding - # TODO title = template(“Proceedings,
+ The annual lattice symposium brings together a global community of researchers + from theoretical particle physics and beyond, who employ numerical and + computational methods to study the properties of strongly interacting physical + systems, above all Quantum Chromodynamics (QCD), the theory describing the + interactions of quarks and gluons. Topics include studies of the spectrum and + structure of hadrons, lattice studies of matter under extreme conditions, + hadronic contributions to weak decay amplitudes, as well as recent + developments in simulation algorithms and computer hardware. The 2013 + conference in Mainz was attended by over 500 participants from all over the + globe, making it the biggest in this series so far. +
++ This proceedings volume is dedicated to the memory of Nobel Laureate Kenneth + G. Wilson (June 8, 1936 - June 15, 2013). +
+Preface |
Foreword + PoS(LATTICE 2013)503 + pdf + + |
+
Ken Wilson Obituary + PoS(LATTICE 2013)504 + pdf + + |
+
Plenary sessions | +
Heavy Flavour Physics Review + PoS(LATTICE 2013)001 + pdf + + |
+
New Developments for Lattice Field Theory at Non-Zero Density + PoS(LATTICE 2013)002 + pdf + + |
+
Heavy Flavour Physics Review
+A. El-Khadra
+in 31st International Symposium on Lattice Field Theory LATTICE 2013
+Contribution: pdf
- -