TMDb scraper feature request: support adult titles

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Alexqw Offline
Junior Member
Posts: 10
Joined: Mar 2009
Reputation: 0
Location: Wisconsin
Post: #1
Hello,
Recently TMDb added support to allow searching for adult films via the API.

It would be great to see this feature added to the TMDb scraper - possibly as a configurable setting.

---Alex
find quote
flobbes Offline
Senior Member
Posts: 140
Joined: Mar 2009
Reputation: 0
Post: #2
I remember that I read that xbmc doens't want to naturaly support adult media/scrapers, so I don't think it will be added on the official repository.

I took a look at the scraper and the api and it ist very simple to add this feature.

Just replace the following line from CreateSearchUrl:

Code:
<RegExp input="$$1" output="&lt;url&gt;http://api.themoviedb.org/3/search/movie?api_key=57983e31fb435df4df77afb854740ea9&amp;query=\1$$4&amp;language=$INFO[language]&lt;/url&gt;" dest="3">

with the following line:
Code:
<RegExp input="$$1" output="&lt;url&gt;http://api.themoviedb.org/3/search/movie?api_key=57983e31fb435df4df77afb854740ea9&amp;include_adult=true&amp;amp;query=\1$$4&amp;amp;language=$INFO[language]&lt;/url&gt;" dest="3">
find quote
kemik Offline
Senior Member
Posts: 123
Joined: Oct 2008
Reputation: 0
Post: #3
Hi,

Could someone please explain how I can make the changes shown above on XBMC on my Apple TV please?

What file is this in and what is the best way to edit that file?

Thx
find quote
Alexqw Offline
Junior Member
Posts: 10
Joined: Mar 2009
Reputation: 0
Location: Wisconsin
Post: #4
(2012-05-19 13:37)flobbes Wrote:  I remember that I read that xbmc doens't want to naturaly support adult media/scrapers, so I don't think it will be added on the official repository.
Do you have a link for where you found that information?

As long as it is implimented as a configurable option (off by default), then I don't see how people who are offended by adult content would be exposed to it. Especially if 1) adult content is off by default and 2) they don't have any adult content in their library.

I'm willing to make the modifications neccesary to the TMDB scraper, but only if it actually has a chance to make it into the official release.

Thoughts?

---Alex
find quote
olympia Online
Team-XBMC Member
Posts: 2,381
Joined: May 2008
Reputation: 30
Post: #5
No chance.
find quote
jayleekay Offline
Junior Member
Posts: 28
Joined: Mar 2011
Reputation: 0
Post: #6
The adult addon repo has an adult scraper you can download.
find quote
Alexqw Offline
Junior Member
Posts: 10
Joined: Mar 2009
Reputation: 0
Location: Wisconsin
Post: #7
(2013-03-13 09:25)jayleekay Wrote:  The adult addon repo has an adult scraper you can download.
I'm not interested in just any "adult scraper." I'm interesting in pulling the existing adult titles that are already in TMDB. I still don't see why this would be a problem if it's a configurable option.

Part of the reason I want to use TMDB is that 1) I've already contributed to them, and 2) scanning a unified movie collection with multiple scrapers is not easy (please correct me if I am wrong on this).

---Alex
(This post was last modified: 2013-03-13 13:47 by Alexqw.)
find quote
olympia Online
Team-XBMC Member
Posts: 2,381
Joined: May 2008
Reputation: 30
Post: #8
(2013-03-13 13:45)Alexqw Wrote:  I'm not interested in just any "adult scraper." I'm interesting in pulling the existing adult titles that are already in TMDB.

So what blocks you to use the above mentioned modification which makes this possible for you?
find quote
Alexqw Offline
Junior Member
Posts: 10
Joined: Mar 2009
Reputation: 0
Location: Wisconsin
Post: #9
(2013-03-13 14:12)olympia Wrote:  So what blocks you to use the above mentioned modification which makes this possible for you?
Nothing blocks me from doing it just for myself. I just would rather commit this enhancement to the official TMDB scraper so that others may benefit from this feature. Also, this would save me the effort of tracking my patch and reapplying locally with every official update to the TMDB scraper. You know, the driving spirit behind open source development.

Is this unreasonable? I feel like I'm missing something because I don't see why it's a problem to commit a small change that gives users configurable access to additional information from an already used service about films in their collection. Is the problem really just that the info will be from a genre of films some people don't like?

---Alex
find quote
Martijn Offline
Team-XBMC
Posts: 7,714
Joined: Jul 2011
Reputation: 115
Location: Dawn of time
Post: #10
(2013-03-13 14:34)Alexqw Wrote:  
(2013-03-13 14:12)olympia Wrote:  So what blocks you to use the above mentioned modification which makes this possible for you?
Nothing blocks me from doing it just for myself. I just would rather commit this enhancement to the official TMDB scraper so that others may benefit from this feature. Also, this would save me the effort of tracking my patch and reapplying locally with every official update to the TMDB scraper. You know, the driving spirit behind open source development.

Is this unreasonable? I feel like I'm missing something because I don't see why it's a problem to commit a small change that gives users configurable access to additional information from an already used service about films in their collection. Is the problem really just that the info will be from a genre of films some people don't like?

---Alex

Because we will not allow adult scraping in the official version.

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Post Reply