title: how to extract data from two html page?
body: <p>I want to extract data from two html page .As I extact data from one page and going another page some element change ,data are present in list and list changes.</p>
  
  <p>My code for below problem</p>
  
  <pre><code>details_containers = soup_page.findAll("div",{"id":"RESTAURANT_DETAILS"})
         details_container = details_containers[0].findAll("div",{"class":"content"})
         cuisine = details_container[0].text.strip()
         print(cuisine)
         meals = details_container[1].text.strip()
         print(meals)
         hotel_features = details_container[2].text.strip()
         print(hotel_features)
  </code></pre>
  
  <p><strong>From first html I want cuisine ,meals , retaurant_features content values . But there are some extra content values of hours,average prices.</strong></p>
  
  <pre><code>&lt;div id="RESTAURANT_DETAILS" class="content_block details_block scroll_tabs" data-tab="TABS_DETAILS"&gt;
      &lt;div class="header_with_improve wrap"&gt;
          &lt;a href="/UpdateListing-g297595-d6384395-Ocellus-Raipur_Raipur_District_Chhattisgarh.html" onclick="ta.setEvtCookie('UpdateListing', 'entry-detail-moreinfo', null, 0, '/UpdateListingRedesign')"&gt;
              &lt;div class="improve_listing_btn ui_button primary"&gt;Improve this listing&lt;/div&gt;
          &lt;/a&gt;
          &lt;h3 class="tabs_header"&gt;Restaurant Details&lt;/h3&gt; &lt;/div&gt;
      &lt;div class="details_tab"&gt;
          &lt;div class="table_section"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="ratingSummary wrap"&gt;
                      &lt;div class="histogramCommon bubbleHistogram wrap"&gt;
                          &lt;div class="colTitle"&gt;
                              Rating summary
                          &lt;/div&gt;
                          &lt;ul class="barChart"&gt;
                              &lt;li&gt;
                                  &lt;div class="ratingRow wrap"&gt;
                                      &lt;div class="label part "&gt;
                                          &lt;span class="text"&gt;Food&lt;/span&gt;
                                      &lt;/div&gt;
                                      &lt;div class="wrap row part "&gt;
                                          &lt;span class="ui_bubble_rating bubble_45" alt="4.5 of 5 bubbles"&gt;&lt;/span&gt;
                                      &lt;/div&gt;
                                  &lt;/div&gt;
                                  &lt;div class="ratingRow wrap"&gt;
                                      &lt;div class="label part "&gt;
                                          &lt;span class="text"&gt;Service&lt;/span&gt;
                                      &lt;/div&gt;
                                      &lt;div class="wrap row part "&gt;
                                          &lt;span class="ui_bubble_rating bubble_35" alt="3.5 of 5 bubbles"&gt;&lt;/span&gt;
                                      &lt;/div&gt;
                                  &lt;/div&gt;
                              &lt;/li&gt;
                              &lt;li&gt;
                                  &lt;div class="ratingRow wrap"&gt;
                                      &lt;div class="label part "&gt;
                                          &lt;span class="text"&gt;Value&lt;/span&gt;
                                      &lt;/div&gt;
                                      &lt;div class="wrap row part "&gt;
                                          &lt;span class="ui_bubble_rating bubble_35" alt="3.5 of 5 bubbles"&gt;&lt;/span&gt;
                                      &lt;/div&gt;
                                  &lt;/div&gt;
                              &lt;/li&gt;
                          &lt;/ul&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="title"&gt;
                      Average prices
                  &lt;/div&gt;
                  &lt;div class="content"&gt;
                      &lt;span&gt;₹&amp;nbsp;448 -
  ₹&amp;nbsp;768&lt;/span&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="title"&gt;
                      Cuisine
                  &lt;/div&gt;
                  &lt;div class="content"&gt;
                      &lt;a href="/Restaurants-g297595-c24-Raipur_Raipur_District_Chhattisgarh.html"&gt;Indian&lt;/a&gt;, &lt;a href="/Restaurants-g297595-c3-Raipur_Raipur_District_Chhattisgarh.html"&gt;Asian&lt;/a&gt;, &lt;a href="/Restaurants-g297595-c26-Raipur_Raipur_District_Chhattisgarh.html"&gt;Italian&lt;/a&gt;, &lt;a href="/Restaurants-g297595-c20-Raipur_Raipur_District_Chhattisgarh.html"&gt;French&lt;/a&gt;, &lt;a href="/Restaurants-g297595-c11-Raipur_Raipur_District_Chhattisgarh.html"&gt;Chinese&lt;/a&gt;, &lt;a href="/Restaurants-g297595-c22-Raipur_Raipur_District_Chhattisgarh.html"&gt;International&lt;/a&gt;, &lt;a href="/Restaurants-g297595-zfz10665-Raipur_Raipur_District_Chhattisgarh.html"&gt;Vegetarian Friendly&lt;/a&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="title"&gt;
                      Meals
                  &lt;/div&gt;
                  &lt;div class="content"&gt;
                      Breakfast, Lunch, Dinner, Brunch
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="title"&gt;
                      Restaurant features
                  &lt;/div&gt;
                  &lt;div class="content"&gt;
                      Reservations, Seating, Takeout, Private Dining, Waitstaff
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="title"&gt;
                      Good for
                  &lt;/div&gt;
                  &lt;div class="content"&gt;
                      Groups, Business meetings, Child-friendly
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="hours title"&gt;
                      Open Hours
                  &lt;/div&gt;
                  &lt;div class="hours content"&gt;
                      &lt;div class="detail"&gt;
                          &lt;span class="day"&gt;Sunday&lt;/span&gt;
                          &lt;span class="hours"&gt;&lt;div class="hoursRange"&gt;07:00 - 23:00&lt;/div&gt;&lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class="detail"&gt;
                          &lt;span class="day"&gt;Monday&lt;/span&gt;
                          &lt;span class="hours"&gt;&lt;div class="hoursRange"&gt;07:00 - 23:00&lt;/div&gt;&lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class="detail"&gt;
                          &lt;span class="day"&gt;Tuesday&lt;/span&gt;
                          &lt;span class="hours"&gt;&lt;div class="hoursRange"&gt;07:00 - 23:00&lt;/div&gt;&lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class="detail"&gt;
                          &lt;span class="day"&gt;Wednesday&lt;/span&gt;
                          &lt;span class="hours"&gt;&lt;div class="hoursRange"&gt;07:00 - 23:00&lt;/div&gt;&lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class="detail"&gt;
                          &lt;span class="day"&gt;Thursday&lt;/span&gt;
                          &lt;span class="hours"&gt;&lt;div class="hoursRange"&gt;07:00 - 23:00&lt;/div&gt;&lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class="detail"&gt;
                          &lt;span class="day"&gt;Friday&lt;/span&gt;
                          &lt;span class="hours"&gt;&lt;div class="hoursRange"&gt;07:00 - 23:00&lt;/div&gt;&lt;/span&gt;
                      &lt;/div&gt;
                      &lt;div class="detail"&gt;
                          &lt;span class="day"&gt;Saturday&lt;/span&gt;
                          &lt;span class="hours"&gt;&lt;div class="hoursRange"&gt;07:00 - 23:00&lt;/div&gt;&lt;/span&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="additional_info"&gt;
              &lt;div class="title"&gt;
                  Location and Contact Information &lt;/div&gt;
              &lt;div class="content"&gt;
                  &lt;ul class="detailsContent"&gt;
                      &lt;li&gt;
                          &lt;div class="detail"&gt;Address:
                              &lt;span&gt; &lt;span class="format_address"&gt;&lt;span class="street-address"&gt;G.E. Road&lt;/span&gt; | &lt;span class="extended-address"&gt;Mayura Hotel&lt;/span&gt;, &lt;span class="locality"&gt;Raipur 492001, &lt;/span&gt;&lt;span class="country-name"&gt;India&lt;/span&gt; &lt;/span&gt;
                              &lt;/span&gt;
                          &lt;/div&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;div class="detail"&gt;Location:
                              &lt;span&gt; Asia&lt;/span&gt;
                              &lt;span&gt; &amp;nbsp;&amp;gt;&amp;nbsp; India&lt;/span&gt;
                              &lt;span&gt; &amp;nbsp;&amp;gt;&amp;nbsp; Chhattisgarh&lt;/span&gt;
                              &lt;span&gt; &amp;nbsp;&amp;gt;&amp;nbsp; Raipur District&lt;/span&gt;
                              &lt;span&gt; &amp;nbsp;&amp;gt;&amp;nbsp; Raipur&lt;/span&gt;
                          &lt;/div&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;div class="detail"&gt;Phone Number:
                              &lt;span&gt;+91 77142 00500&lt;/span&gt;
                          &lt;/div&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;span class="ui_icon email"&gt;&lt;/span&gt;
                          &lt;a target="_blank&amp;quot;" href="mailto:banquet@themayurahotels.com" onclick="ta.trackEventOnPage('Eatery_Listing','Email','6384395')"&gt;
  E-mail &lt;/a&gt;
                      &lt;/li&gt;
                      &lt;!--trkP:waypoint_for_poi_2--&gt;
                      &lt;!-- PLACEMENT waypoint_for_poi --&gt;
                      &lt;div id="taplc_waypoint_for_poi_1" class="ppr_rup ppr_priv_waypoint_for_poi" data-placement-name="waypoint_for_poi"&gt;
                      &lt;/div&gt;
                      &lt;!--etk--&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;!--[if lte IE 9]&gt;
              &lt;style&gt;
                  .details_block .threeColumnList{
                      height: 350px;
                      overflow: auto;
                  }
              &lt;/style&gt;
              &lt;![endif]--&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>From second html I want cuisine ,meals , retaurant_features content values like above html. <strong>But in this extra content values of hours,average prices are not present</strong></p>
  
  <pre><code>&lt;div id="RESTAURANT_DETAILS" class="content_block details_block scroll_tabs" data-tab="TABS_DETAILS"&gt;
      &lt;div class="header_with_improve wrap"&gt;
          &lt;a href="/UpdateListing-g297595-d8595502-Barbeque_Nation-Raipur_Raipur_District_Chhattisgarh.html" onclick="ta.setEvtCookie('UpdateListing', 'entry-detail-moreinfo', null, 0, '/UpdateListingRedesign')"&gt;
              &lt;div class="improve_listing_btn ui_button primary"&gt;Improve this listing&lt;/div&gt;
          &lt;/a&gt;
          &lt;h3 class="tabs_header"&gt;Restaurant Details&lt;/h3&gt; &lt;/div&gt;
      &lt;div class="details_tab"&gt;
          &lt;div class="table_section"&gt;
              &lt;div class="row"&gt;
                  &lt;div class="ratingSummary wrap"&gt;
                      &lt;div class="histogramCommon bubbleHistogram wrap"&gt;
                          &lt;div class="colTitle"&gt;
                              Rating summary
                          &lt;/div&gt;
                          &lt;ul class="barChart"&gt;
                              &lt;li&gt;
                                  &lt;div class="ratingRow wrap"&gt;
                                      &lt;div class="label part "&gt;
                                          &lt;span class="text"&gt;Food&lt;/span&gt;
                                      &lt;/div&gt;
                                      &lt;div class="wrap row part "&gt;
                                          &lt;span class="ui_bubble_rating bubble_45" alt="4.5 of 5 bubbles"&gt;&lt;/span&gt;
                                      &lt;/div&gt;
                                  &lt;/div&gt;
                                  &lt;div class="ratingRow wrap"&gt;
                                      &lt;div class="label part "&gt;
                                          &lt;span class="text"&gt;Service&lt;/span&gt;
                                      &lt;/div&gt;
                                      &lt;div class="wrap row part "&gt;
                                          &lt;span class="ui_bubble_rating bubble_45" alt="4.5 of 5 bubbles"&gt;&lt;/span&gt;
                                      &lt;/div&gt;
                                  &lt;/div&gt;
                              &lt;/li&gt;
                              &lt;li&gt;
                                  &lt;div class="ratingRow wrap"&gt;
                                      &lt;div class="label part "&gt;
                                          &lt;span class="text"&gt;Value&lt;/span&gt;
                                      &lt;/div&gt;
                                      &lt;div class="wrap row part "&gt;
                                          &lt;span class="ui_bubble_rating bubble_40" alt="4.0 of 5 bubbles"&gt;&lt;/span&gt;
                                      &lt;/div&gt;
                                  &lt;/div&gt;
                              &lt;/li&gt;
                          &lt;/ul&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="title"&gt;
                      Cuisine
                  &lt;/div&gt;
                  &lt;div class="content"&gt;
                      &lt;a href="/Restaurants-g297595-c24-Raipur_Raipur_District_Chhattisgarh.html"&gt;Indian&lt;/a&gt;, &lt;a href="/Restaurants-g297595-c6-Raipur_Raipur_District_Chhattisgarh.html"&gt;Barbecue&lt;/a&gt;, &lt;a href="/Restaurants-g297595-c3-Raipur_Raipur_District_Chhattisgarh.html"&gt;Asian&lt;/a&gt;, &lt;a href="/Restaurants-g297595-zfz10665-Raipur_Raipur_District_Chhattisgarh.html"&gt;Vegetarian Friendly&lt;/a&gt;, &lt;a href="/Restaurants-g297595-zfz10697-Raipur_Raipur_District_Chhattisgarh.html"&gt;Vegan Options&lt;/a&gt;, &lt;a href="/Restaurants-g297595-zfz10992-Raipur_Raipur_District_Chhattisgarh.html"&gt;Gluten Free Options&lt;/a&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="title"&gt;
                      Meals
                  &lt;/div&gt;
                  &lt;div class="content"&gt;
                      Lunch, Dinner
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="title"&gt;
                      Restaurant features
                  &lt;/div&gt;
                  &lt;div class="content"&gt;
                      Reservations, Seating, Waitstaff, Wheelchair Accessible, Validated Parking
                  &lt;/div&gt;
              &lt;/div&gt;
              &lt;div class="row"&gt;
                  &lt;div class="title"&gt;
                      Good for
                  &lt;/div&gt;
                  &lt;div class="content"&gt;
                      Groups, Special Occasion Dining, Kids, Child-friendly
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="additional_info"&gt;
              &lt;div class="title"&gt;
                  Location and Contact Information &lt;/div&gt;
              &lt;div class="content"&gt;
                  &lt;ul class="detailsContent"&gt;
                      &lt;li&gt;
                          &lt;div class="detail"&gt;Address:
                              &lt;span&gt; &lt;span class="format_address"&gt; | &lt;span class="extended-address"&gt;Magneto The Mall, 2nd Floor&lt;/span&gt;, &lt;span class="locality"&gt;Raipur 429010, &lt;/span&gt;&lt;span class="country-name"&gt;India&lt;/span&gt; &lt;/span&gt;
                              &lt;/span&gt;
                          &lt;/div&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;div class="detail"&gt;Location:
                              &lt;span&gt; Asia&lt;/span&gt;
                              &lt;span&gt; &amp;nbsp;&amp;gt;&amp;nbsp; India&lt;/span&gt;
                              &lt;span&gt; &amp;nbsp;&amp;gt;&amp;nbsp; Chhattisgarh&lt;/span&gt;
                              &lt;span&gt; &amp;nbsp;&amp;gt;&amp;nbsp; Raipur District&lt;/span&gt;
                              &lt;span&gt; &amp;nbsp;&amp;gt;&amp;nbsp; Raipur&lt;/span&gt;
                          &lt;/div&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;div class="detail"&gt;Phone Number:
                              &lt;span&gt;+91 77160 60008&lt;/span&gt;
                          &lt;/div&gt;
                      &lt;/li&gt;
                      &lt;li&gt;
                          &lt;span class="ui_icon email"&gt;&lt;/span&gt;
                          &lt;a target="_blank&amp;quot;" href="mailto:feedback@barbeque-nation.com" onclick="ta.trackEventOnPage('Eatery_Listing','Email','8595502')"&gt;
      E-mail &lt;/a&gt;
                      &lt;/li&gt;
                      &lt;!--trkP:waypoint_for_poi_2--&gt;
                      &lt;!-- PLACEMENT waypoint_for_poi --&gt;
                      &lt;div id="taplc_waypoint_for_poi_1" class="ppr_rup ppr_priv_waypoint_for_poi" data-placement-name="waypoint_for_poi"&gt;
                      &lt;/div&gt;
                      &lt;!--etk--&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;!--[if lte IE 9]&gt;
                  &lt;style&gt;
                      .details_block .threeColumnList{
                          height: 350px;
                          overflow: auto;
                      }
                  &lt;/style&gt;
                  &lt;![endif]--&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>