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
Moving Pictures
Filmtipset.se - Swedish grabber
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="RoChess" data-source="post: 1271531" data-attributes="member: 18896"><p>What you could do is this:</p><p></p><p>[code]</p><p><retrieve></p><p><store what you need in a variable, or process first page completely></p><p><if first-page-contains-a-reference-to-next-page-via-regex-match == true></p><p> <retrieve second page></p><p> <add what you need to the same variable, or process second page completely></p><p></if></p><p><if second-page-contains-a-reference-to-third-page-via-regex-match == true></p><p> <retrieve third page></p><p> <add what you need to the same variable, or process third page completely></p><p></if></p><p><process variable if you did not process each page already></p><p>[/code]</p><p></p><p>Processing 3-pages should be enough i would think, based on your example of a movie's proper result not found until page-3.</p><p></p><p>You can also re-investigate if you can tweak your search query, and maybe bring in the year to narrow down the results, so that instead of scraping 3-pages you adjust your search Kung-Fu to ensure the proper movie shows on first page, so you never have to scrape more than one page <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite11" alt=":rolleyes:" title="Roll Eyes :rolleyes:" loading="lazy" data-shortname=":rolleyes:" /></p></blockquote><p></p>
[QUOTE="RoChess, post: 1271531, member: 18896"] What you could do is this: [code] <retrieve> <store what you need in a variable, or process first page completely> <if first-page-contains-a-reference-to-next-page-via-regex-match == true> <retrieve second page> <add what you need to the same variable, or process second page completely> </if> <if second-page-contains-a-reference-to-third-page-via-regex-match == true> <retrieve third page> <add what you need to the same variable, or process third page completely> </if> <process variable if you did not process each page already> [/code] Processing 3-pages should be enough i would think, based on your example of a movie's proper result not found until page-3. You can also re-investigate if you can tweak your search query, and maybe bring in the year to narrow down the results, so that instead of scraping 3-pages you adjust your search Kung-Fu to ensure the proper movie shows on first page, so you never have to scrape more than one page :rolleyes: [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Filmtipset.se - Swedish grabber
Contact us
RSS
Top
Bottom