İçeriğe geç
YENİPazar yeri ve ekibin: geliştirdiğini sat; planlar ve değişiklikler sen görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Web Kazıma ve Araştırma

Web Kazıma ve Araştırma

Sayfalar bitene kadar sayfalandırılmış HTML sayfalarını döngüyle kazı

Manuel olarak çalışır; her HTML sayfasını sırayla ister, verileri çıkarır, sayfa numarasını artırır ve sayfa kalmayınca durur.

Ne yapar

## 3. Handle Pagination ### Sometimes you need to make the same request multiple times to get all the data you need (pagination). ### The pagination process goes as follow: ### 1. Loop through the pages of the input source (HTTP Request node named "Get my Starts") ### 2. Increment the page at the end of each loop (done with the set node named "Increment Page") ### 3. Stop looping when there are no pages left (checked at the If node named "Are we Finished?")

Adımlar

  1. On clicking 'execute'
  2. Set
  3. Item Lists - Create Items from Body
  4. HTML Extract - Extract Article Title
  5. Item Lists - Fetch Body
  6. If - Are we finished?
  7. Set - Increment Page
  8. HTTP Request - Get Mock Albums
  9. HTTP Request - Get Wikipedia Page
  10. HTTP Request - Get my Stars

Benzer otomasyonlar