home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Need help with tvsubtitles.net
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MageMinds" data-source="post: 505645" data-attributes="member: 30288"><p>Here is the code that should work... Only one line to add I made it bold and left some before and after code for you to see where to put it. I'm not 100% sure that will work, but it's a start. We need to set the Referer and this is exactly what this does. I did not check all the code, I assume the sDownloadUrl is equal to something like "http://tvsubtitles.net/subtitle-82387.html" at the moment we do the Headers.Add</p><p></p><p>[code]265 Match selected = Selected.m_Tag as Match;</p><p>266 String sDownloadUrl = m_sBaseUrl + selected.Groups[1].Value;</p><p>[b]add client.Headers.Add("Referer", sDownloadUrl);[/b]</p><p>267 sDownloadUrl = sDownloadUrl.Replace("/subtitle", "/download");[/code]</p><p></p><p>I use subtitles ALL the time and this was a shock to me when it stoped working. I'm glad I could help if it works...</p><p></p><p>MageMinds</p></blockquote><p></p>
[QUOTE="MageMinds, post: 505645, member: 30288"] Here is the code that should work... Only one line to add I made it bold and left some before and after code for you to see where to put it. I'm not 100% sure that will work, but it's a start. We need to set the Referer and this is exactly what this does. I did not check all the code, I assume the sDownloadUrl is equal to something like "http://tvsubtitles.net/subtitle-82387.html" at the moment we do the Headers.Add [code]265 Match selected = Selected.m_Tag as Match; 266 String sDownloadUrl = m_sBaseUrl + selected.Groups[1].Value; [b]add client.Headers.Add("Referer", sDownloadUrl);[/b] 267 sDownloadUrl = sDownloadUrl.Replace("/subtitle", "/download");[/code] I use subtitles ALL the time and this was a shock to me when it stoped working. I'm glad I could help if it works... MageMinds [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
Need help with tvsubtitles.net
Contact us
RSS
Top
Bottom