- Thread starter
- Moderator
- #81
Re: Release Name search
Ok, I see your point here.
But the only problem seems to be the Podnapisi. Subscene already uses the "/s.apx" when searching with SearchQuery and SubtitleSource doesn't have any difference like you said.
I wonder if changing Podnapisi parameter "sK" to "sR" be ok, it seems to give results with sR even if not searching with release name?
In Podnapisi a normal search for "24.s08e01.720p.hdtv.x264-immerse" gives 0 results. A release name search for the same gives very relevant matches. The only difference in the GET request is this:
Normal:
GET /ppodnapisi/search?tbsl=1&asdp=1&sK=24.s08e01.720p.hdtv.x264-immerse&sJ=0&submit=Search&sY=&sR= HTTP/1.1
Release name:
GET /ppodnapisi/search?tbsl=1&asdp=1&sK=&sJ=0&submit=Search&sY=&sR=24.s08e01.720p.hdtv.x264-immerse HTTP/1.1
The only difference is filling in the sR parameter instead of the sK parameter.
In Subscene a Film Name search for "24.s08e01.720p.hdtv.x264-immerse" will not give any relevant results. The release name search will also here be much better for exact matching.
Title search:
GET /filmsearch.aspx?q=24.s08e01.720p.hdtv.x264-immerse HTTP/1.1
Release name search:
GET /s.aspx?q=24.s08e01.720p.hdtv.x264-immerse HTTP/1.1
In SubtitleSource I actually don't think there is any differences(default search searches for both title and release name) so no changes are needed there.
So there are only minor differences in the requests, but the results are very different. In a general library like SubtitleDownloader I think it would be great to have a different SearchQuery for each type. That way you can also support those source that requires different requests for title and release name.
Ok, I see your point here.
But the only problem seems to be the Podnapisi. Subscene already uses the "/s.apx" when searching with SearchQuery and SubtitleSource doesn't have any difference like you said.
I wonder if changing Podnapisi parameter "sK" to "sR" be ok, it seems to give results with sR even if not searching with release name?