Scrape content from page that loads content after html loaded - screen-scraping

I am trying to get a section of a page that does not load completely until all the JS is run after the html.
https://www.openrent.co.uk/properties-to-rent/greater-london?term=Greater%20London&area=1&prices_min=400&prices_max=900&bedrooms_min=0&bedrooms_max=1
The section I am after is...
Your filtered search is displaying: 1 of 74 properties found
But the 1 in this section is loaded later after the page loads. How could I get this value ?
The 74 is loaded with the HTML so can get this no problem.

Related

page title name is not coming in page source using angular js site

Page title name is not coming in page source but page title is showing at right place..but when I open page source page title is not come as I expected.
page title is showing in page source like this mentioned below here
<title ng-bind="ngMeta.title"></title>
but the real title is not showing at page source..but real title is showing when I mouse over the place where page title shows.how to solve the problem..I am using angular js.can anyone help me please ?

How to reference angular-compiled html?

Is there a way to retrieve the html document of an angularjs web page so that I can reference all the elements on the page? For example, this site has 10 pdfs but when I Chrome-inspect I see that it uses ng-repeat and there is only 1 <li> which is referencing all 11 PDFs with ng-repeat. Any way to get a reference to all the PDFs? Thanks

Bootstrap UI Pagination - current page is set to zero when DOM is loaded

I am using Bootstrap UI Pagination to paginate search results page and also want to store query, current page and page size in URL so it can be shared by users:
http://localhost:39519/#?q=security&limit=10&page=2
The problem is that when I browse link that, the 2nd page is displayed but after a while (when DOM is loaded) current page get reset and first page is
displayed.
Here is plunker but I dont know how to simulate change in URL.
<uib-pagination ng-show="total" direction-links="false" boundarylinks="true" items-per-page="pageSize" total-items="total" ng-change="pageChanged()" ng-model="currentPage"></uib-pagination>
http://plnkr.co/edit/RhxoYOyDjwyoLbMOFtct?p=info

ionic with angularjs image url not parsed

I am using ionic to create a mobile app.
I have a list of items and each item has a photo in it.
in my angular template for each item i have:
<img src='http://www.example.com/images/listings/{{listing.id}}/thumb.jpg'>
i use ng-repeat='listing in listings' to display the template.
i keep seeing angular makes one call to the non parsed url first but for each row gets the right image and displays it:
so first it tries getting
http://www.example.com/images/listings/{{listing.id}}/thumb.jpg
not parsing {{listing.id}}.
but then it parses correctly and displays the image correctly in the list:
http://www.example.com/images/listings/3523/thumb.jpg
so if i have a list of 15 items, it makes one call non-parsed {{listing.id}} and 15 calls correctly parsed.
how do i stop this from happening?
You should be using ngSrc instead of using the interpolation directly.
<img ng-src='http://www.example.com/images/listings/{{listing.id}}/thumb.jpg'>

Angular Js + Rest API + Sharepoint List - Validation and Edit not working

I am having 2 problems in below code.
// http://jsfiddle.net/Jfw9R/7/
Validation is not working when i try to run the application as main page - applicationpage.aspx page. but when i use any html page for main page validation is working fine.
when i click on edit at list.html page. it is redirecting me to edit.html page. that is ok. but data is not coming for the employee for whom i want to edit. data only coming when i change some text in any input control. i don't why ?
Thanks
1 now this is done as i have to provide there ng-form tag instead of form in child page. which is edit.html –

Resources