티스토리 뷰

이상하게 uipath for each uielement 를 사용할때10개만 반복되고 끝났다. 왜 그런지 하고 구글링을 해보니..

https://forum.uipath.com/t/uipath-10/568669

 

UiPath 데이터 스크래핑 하면 결과가 10개만 나옵니다

안녕하세요 네이버지도에서 검색결과를 크롤링을 하려고 합니다. 한 페이지에 50건의 결과가 나오는데 데이터 스크래핑을 하면 미리보기에서는 50건의 데이터가 전부 수집되는데, 디버깅을 돌

forum.uipath.com

위 화면의 글을 보다 보니까 아래와 같은 글이 있었다.

아!!! 아래에 있는 데이터는 스크롤을 내려야해서 셀렉터가 안 잡혔던 것 같습니다.
밑에 있던 요소들은 아래와 같이 class가 달랐습니다.

혹시 스크롤을 내리고 데이터 스크래핑을 해야하는 방법을 알려주실 수 있나요?

아.. 이것 참.. 쉽지가 않네.. 그 셀렉터를 선택하려면 화면까지 내려줘야 하나보다..

======================

그런데 그거는 아닌것 같다. 지가 알아서 스크롤되면서 선택되던데...

=====================

그럴줄 알았는데 위에말이 맞았다. 소스보기 해서 봤더니 10개만 가져오더라.. 원인을 찾았다.

아래 url에서 참조를 했다.

Data scraping only works for page one - Help - UiPath Community Forum

 

Data scraping only works for page one

oooh. okay, so I have tried to increase the limit number alr. I also did click on yes to indicate. However, the above problem still persists. any other solutions to recommend?

forum.uipath.com

Hi,
I encountered the same issue and my guess is that the UiPath only can read data which is loaded on the screen. For example, some websites load all the query results on a screen at once (but not shows it on the page and some will be shown on different pages). The others only load data which can be shown on a page and then they send query when “next page” is clicked on. At least in my case, the next page selector worked for the former case and not for the latter.
(Again, it’s just my guess. I might need to set up differently for the latter case)

I gave up to use next page selector and used “find element” to find “next page”, then I used “click” if there’s the element and again use data scraping.
Note that datatable doesn’t clear automatically, so the data on the next page will be simply added to the datatable which has the data on the first page.

Hope there’s an actual solution…

항목에 클릭을 한번 하고 End 키를 누르니 다음 10개를 가져왔다. 또 한번 End를 누르니 그 다음 10개를 가져오고.. 흠.. 그럼 End를 여러번 눌러서 끝까지 간 다음에 uipath for each uielement 를 해줘야 엘리먼트들이 다 클라이언트로 가져온 후니 되는 건감..

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2025/10   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함