Open dxm2891 opened 5 years ago
Changes to file networkDDFNetwork.py for page search and cover poster
Line 9: for searchResult in searchResults.xpath('//div[@class="card text-white bg-dark m-1"]/a'):
for searchResult in searchResults.xpath('//div[@class="card text-white bg-dark m-1"]/a'):
Line 13: releaseDate = parse(searchResult.xpath('//div[@class="d-flex p-0 m-0 lh-1 pb-1"]//small')[i].text_content().strip()).strftime('%Y-%m-%d')
releaseDate = parse(searchResult.xpath('//div[@class="d-flex p-0 m-0 lh-1 pb-1"]//small')[i].text_content().strip()).strftime('%Y-%m-%d')
Line 38-39: for searchcover in searchcovers.xpath('//div[@class="card text-white bg-dark m-1"]/a') : coverURL = searchcover.xpath('//div[@class="card text-white bg-dark m-1"]/a/img')[k].get('data-src')
for searchcover in searchcovers.xpath('//div[@class="card text-white bg-dark m-1"]/a') : coverURL = searchcover.xpath('//div[@class="card text-white bg-dark m-1"]/a/img')[k].get('data-src')
I hope this was helpful
Changes to file networkDDFNetwork.py for page search and cover poster
Line 9:
for searchResult in searchResults.xpath('//div[@class="card text-white bg-dark m-1"]/a'):
Line 13:
releaseDate = parse(searchResult.xpath('//div[@class="d-flex p-0 m-0 lh-1 pb-1"]//small')[i].text_content().strip()).strftime('%Y-%m-%d')
Line 38-39:
for searchcover in searchcovers.xpath('//div[@class="card text-white bg-dark m-1"]/a') : coverURL = searchcover.xpath('//div[@class="card text-white bg-dark m-1"]/a/img')[k].get('data-src')
I hope this was helpful