mirror of
				https://github.com/MontFerret/ferret.git
				synced 2025-10-30 23:37:40 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			363 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			363 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| LET doc = DOCUMENT("https://github.com/topics")
 | |
| 
 | |
| FOR el IN ELEMENTS(doc, ".py-4.border-bottom")
 | |
|     LIMIT 10
 | |
|     LET url = ELEMENT(el, "a")
 | |
|     LET name = ELEMENT(el, ".f3")
 | |
|     LET desc = ELEMENT(el, ".f5")
 | |
| 
 | |
|     RETURN {
 | |
|         name: TRIM(name.innerText),
 | |
|         description: TRIM(desc.innerText),
 | |
|         url: "https://github.com" + url.attributes.href
 | |
|     }
 |