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
My Usenet
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="Pulzar" data-source="post: 266913" data-attributes="member: 73553"><p>Thanks!</p><p></p><p>So, I looked at the code, and found what the problem is... The HTML returned by newzbin is slightly different from what 'newzbinhtml' search is looking for. In particular, the title is now in '<td class="title">' tag instead of '<td colspan="3" class="title">'. I'm not sure if this is due to some setup differences in newzbin between me and others, or if newzbin guys simply changed their HTML a bit. A couple of other small changes were needed, too (the category is in a different place in HTML, too), but I got it working well now.</p><p></p><p>What I changed is this:</p><p></p><p>- everywhere you had td colspan="3" class="title", I changed it to just td class="title" (in 3 places in the function)</p><p>- changed the middle parsing part of the code (title, id, size, cat) to this:</p><p></p><p> </p><p></p><p>And, that's all! Both stored searches and manual searches worked fine after this. </p><p></p><p>Another crash I found was when one of my stored searches had '&' in the name... That got translated into '&amp;' and stored like that in the config file. The semicolon in there confused the parser when trying to figure out the URL for the stored search... I haven't looked into a fix -- I'll just remove the ampersand from the search name for now <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" />.</p></blockquote><p></p>
[QUOTE="Pulzar, post: 266913, member: 73553"] Thanks! So, I looked at the code, and found what the problem is... The HTML returned by newzbin is slightly different from what 'newzbinhtml' search is looking for. In particular, the title is now in '<td class="title">' tag instead of '<td colspan="3" class="title">'. I'm not sure if this is due to some setup differences in newzbin between me and others, or if newzbin guys simply changed their HTML a bit. A couple of other small changes were needed, too (the category is in a different place in HTML, too), but I got it working well now. What I changed is this: - everywhere you had td colspan="3" class="title", I changed it to just td class="title" (in 3 places in the function) - changed the middle parsing part of the code (title, id, size, cat) to this: And, that's all! Both stored searches and manual searches worked fine after this. Another crash I found was when one of my stored searches had '&' in the name... That got translated into '&' and stored like that in the config file. The semicolon in there confused the parser when trying to figure out the URL for the stored search... I haven't looked into a fix -- I'll just remove the ampersand from the search name for now :). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
My Usenet
Contact us
RSS
Top
Bottom