Issue
I'm trying to scrape the description of this video : https://www.namasha.com/v/mtlBhvAZ I can get everything inside the description except for the Telegram link using Scrapy This is my code :
meta_description = Selector(text=response.text).css(
'#video-desc::text').extract()
Solution
Edit:
telegram_link = response.xpath('//p[@id="video-desc"]/a/@href').get()
Answered By - SuperUser
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.