DrJLR / xbmc-adult

Automatically exported from code.google.com/p/xbmc-adult
0 stars 0 forks source link

Title in adultdvdempire scraper contains more than the title #67

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Import a movie which is on sale (at the moment for instance 
http://www.adultdvdempire.com/1601749/cuties-3-porn-movies.html )

2. Look at the movie in the movie listing - It is not vertically centered

3 . Export movie to nfo-file and see the title-field in the nfo contains a lot 
of carrige-returns/newlines and On Sale.

What is the expected output? What do you see instead?
Seems the h1-element also contains a span-element with 'on sale' and 
carrige-returns/newlines before the span.

What version of the product are you using? On what operating system?
Newest adultdvdempire.xml in the source. r204.

I'm not that fluent in XBMC scraper development and regex, so I didn't manage 
to strip it away in the h1-element, but using the title-element instead and 
stripping everything after the first ( or | seems to work for me.

The extra string in the title in the exported nfo:


                
                    - On 
Sale!  

A diff is attached.

Original issue reported on code.google.com by currentl...@gmail.com on 29 Jul 2013 at 3:14

Attachments:

GoogleCodeExporter commented 8 years ago
Yes I just noticed this too... will check up on it when I've got a few spare 
mins.

Original comment by ltub...@gmail.com on 3 Aug 2013 at 6:07