top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

HTML scraping not working on mobile devices?

+3 votes
292 views

I scraped products from www.jumia.com this scraping properly working on desktop or laptop systems. but when i will opens my page into mobile phones then scraped product list will not shows. is this possible to scrape products for mobile devices?

please help me and give me a possible solution following code i used:-

<?php  <div class="frstsection">  
                        <div class="selectlist">
                            <p>Jumia Products List</p> 
                            <select id="selectJum" multiple class="form-control">
                                <?php 
                                foreach ($html->find("a[class=itm-link]") as $key => $element) {
                                    //echo '<pre>';
                                    if (!empty($element->attr['title'])) {
                                        ?>
                                        <option value="<?php print($element->attr['title']); ?>" >
                                            <?php
                                            print($element->attr['title']);
                                            $i++;
                                        }
                                       //print('not found');
                                    }
                                    ?> 
                            </select>
                        </div>
                    <div class="clearfix"></div>
                </div> ?>
posted Oct 30, 2014 by Varun Suneja

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
I don't see any issue from PHP point of view and html/css is not there so difficult to comment.

However try to debug html page using the laptop only by emulating the console to desired screen?

Similar Questions
+1 vote
<audio src="data:audio/mp3;base64,//MkxAA.......></audio>

The above code is working fine in web browsers but not working in mobile browsers.Please help any one what is the problem.

...