Skip to content

Commit

Permalink
DMED-119 - add missing await to LomBase.getUrlData function call in m…
Browse files Browse the repository at this point in the history
…erlin_spider
  • Loading branch information
bergatco committed Sep 25, 2024
1 parent cc5038d commit 2aa1a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converter/spiders/merlin_spider.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async def parse(self, response: scrapy.http.Response):
print("Parsing URL: " + response.url)

# Call Splash only once per page (that contains multiple XML elements).
data = self.getUrlData(response.url)
data = await LomBase.getUrlData(response.url)
response.meta["rendered_data"] = data

# We would use .fromstring(response.text) if the response did not include the XML declaration:
Expand Down

0 comments on commit 2aa1a2a

Please sign in to comment.