PhoenixPlexCode / PhoenixAdult.bundle

Plex Meta-Data Agent for scene videos from multiple adult sites
116 stars 215 forks source link

DDFNetwork page search change and cover poster #11

Open dxm2891 opened 5 years ago

dxm2891 commented 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'):

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