Closed waywit closed 3 years ago
Oh, yes. I forgot about this. There were changes on their site. Thanks for the reminder. I'll look into it. The "Scrubs" issue isn't an actual bug. The scraper only changed the German translation. I'll update our tests. And for the concert: I'm a bit surprised about the change and will look into it.
Thanks!
hmm... Seems to be a server-side issue. They seem check for the user-agent in the network request. Compare:
Request with Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
user-agent:
<a href="/652646/adriana-chechik-pornstars.html"
style="display:inline-block;"
Category="Item Page" Label="Performer"><div class="hover-popover-container"><u>Adriana Chechik</u><div class="hover-popover hover-popover-right"
style=""><div class="hover-popover-detail" style="padding:0;"><img src="https://imgs1cdn.adultempire.com/actors/652646h.jpg"
alt="Adriana Chechik Bodyshot"
title="Adriana Chechik"
class="img-responsive" /></div></div></div></a>,
And with MediaElch's user agent:
<a href="/652646/adriana-chechik-pornstars.html"
style="display:inline-block;"
Category="Item Page" Label="Performer">
Adriana Chechik
</a>,
Changing the user agent fixes this issue. A PR will follow soon.
Hi, thanks for fixing... I made some tests with the fixed code and found out, that the empty block also appears in "normal" ooperation... e.g. you can find it here: https://www.adultempire.com/1511672/briana-extreme-porn-movies.html
<a href="/467160/aiden-starr-pornstars.html"
style="display:inline-block;"
Category="Item Page" Label="Performer"><div class="hover-popover-container"><u>Aiden Starr</u><div class="hover-popover hover-popover-right"
style=""><div class="hover-popover-detail" style="padding:0;"><img src="https://imgs1cdn.adultempire.com/actors/467160h.jpg"
alt="Aiden Starr Bodyshot"
title="Aiden Starr"
class="img-responsive" /></div></div></div></a>,
<a href="/37385/sascha-pornstars.html"
style="display:inline-block;"
Category="Item Page" Label="Performer">
Sascha
</a>,
<a href="/159473/ben-english-pornstars.html"
style="display:inline-block;"
Category="Item Page" Label="Performer"><div class="hover-popover-container"><u>Ben English</u><div class="hover-popover hover-popover-right"
style=""><div class="hover-popover-detail" style="padding:0;"><img src="https://imgs1cdn.adultempire.com/actors/159473h.jpg"
alt="Ben English Bodyshot"
title="Ben English"
class="img-responsive" /></div></div></div></a>,
<a href="/310907/jerry-pornstars.html"
style="display:inline-block;"
Category="Item Page" Label="Performer">
Jerry
</a>,
This leads to empty actors in "movie.nfo"...
<actor>
<name>Aiden Starr</name>
<role></role>
<order>4</order>
<thumb>https://imgs1cdn.adultempire.com/actors/467160h.jpg</thumb>
</actor>
<actor>
<name></name>
<role></role>
<order>5</order>
<thumb></thumb>
</actor>
<actor>
<name>Ben English</name>
<role></role>
<order>6</order>
<thumb>https://imgs1cdn.adultempire.com/actors/159473h.jpg</thumb>
</actor>
<actor>
<name></name>
<role></role>
<order>7</order>
<thumb></thumb>
</actor>
As I can see these actors do not have any picture llinked to the profile. I am not sure what can be done here, if this situation can be detected or if the scraper gives back an empty name it will not be added perhaps?
Just a short question... During my tests I mentioned in the UI that there are no "Extra Fanarts" shown inside the corrosponding Tab... but:
If you want, I can open an issue for this?
Hi,
thanks! I'll reopen this issue. I plan to rewrite our movie scrapers and with that empty actors should be removed as well.
Hi,
Regarding the extra fanart: Yes, please open another issue. :-)
Hi, no problem... therefore I am doing some QA ;-)
Scrapers that don't work:
Details which are wrong / not loaded: The actor pictures are not loaded and stored to .actors folder. The scraper test also fail with the following error:
MediaElch Version:
Operating System:
Additional context: 2 other scraper test also fail:
And also: