# Trying to scrape Gumloop forum

**URL:** <https://forum.gumloop.com/t/trying-to-scrape-gumloop-forum/1371>\
**Category:** Get Help\
**Tags:** Extract-Data, Website-Scraper\
**Created:** [February 22, 2025, 9:10pm UTC](https://forum.gumloop.com/t/trying-to-scrape-gumloop-forum/1371 "2025-02-22T21:10:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris\_dyer](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@chris\_dyer](https://forum.gumloop.com/u/chris_dyer)\
**Post date:** [February 22, 2025, 9:10pm UTC](https://forum.gumloop.com/t/trying-to-scrape-gumloop-forum/1371/1 "2025-02-22T21:10:23Z")

</div>

Trying to get a recurring email update of new posts to the Gumloop forum. I’d like to filter the results to posts that have 1) fewer than 3 replies and 2) have been posted \<48 hours ago. I’m trying to use Extract data inside an “if-else” to do that filtering but the if-else keeps failing w/ an ambiguous error message that sends me to the forum. Any ideas on what I can do to get around this?

Run Link: [https://www.gumloop.com/pipeline?workbook\_id=tpd7VppYQ8iLutEkUjDAnc&run\_id=mkmLU43kJUU73MZTJz3pXV](https://www.gumloop.com/pipeline?workbook_id=tpd7VppYQ8iLutEkUjDAnc&run_id=mkmLU43kJUU73MZTJz3pXV)  
Flow link: [https://www.gumloop.com/pipeline?workbook\_id=tpd7VppYQ8iLutEkUjDAnc&run\_id=mkmLU43kJUU73MZTJz3pXV](https://www.gumloop.com/pipeline?workbook_id=tpd7VppYQ8iLutEkUjDAnc&run_id=mkmLU43kJUU73MZTJz3pXV)

---

<div class="post-metadata">

**Author:** ![chris\_dyer](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@chris\_dyer](https://forum.gumloop.com/u/chris_dyer)\
**Post date:** [February 22, 2025, 10:04pm UTC](https://forum.gumloop.com/t/trying-to-scrape-gumloop-forum/1371/2 "2025-02-22T22:04:19Z")

</div>

I tried a different way and since a post with zero replies has a blank reply value, the filter breaks. How can I get these blank values to show up as a zero? Open to other suggestions beyond just this specific question.  
[https://www.gumloop.com/pipeline?workbook\_id=hcGWUnCQ821nWsCZuAUAsB](https://www.gumloop.com/pipeline?workbook_id=hcGWUnCQ821nWsCZuAUAsB)

---

<div class="post-metadata">

**Author:** ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)\
**Post date:** [February 24, 2025, 5:06am UTC](https://forum.gumloop.com/t/trying-to-scrape-gumloop-forum/1371/3 "2025-02-24T05:06:06Z")

</div>

Hey @chris_dyer - The IF-ELSE node does not natively work on list outputs like that, we’re going to resolve this soon. Meanwhile you can use a `Combine Text` node as an intermediary and then wrap that in an IF-ELSE node.

**Example** : [https://www.gumloop.com/pipeline?workbook\_id=fYaAMEWv5BALFa3WVfihZT&run\_id=HS3ws6bhBmk6fbYnR6zPHv](https://www.gumloop.com/pipeline?workbook_id=fYaAMEWv5BALFa3WVfihZT&run_id=HS3ws6bhBmk6fbYnR6zPHv)

A much better approach here would be to use a `Filter` node and for your second question you can specify in the `Extract Data` node not to output blank values, use zero instead.

**Example** : [https://www.gumloop.com/pipeline?workbook\_id=fYaAMEWv5BALFa3WVfihZT&run\_id=PH6HpR7KgUEQzeMu6dkmpz](https://www.gumloop.com/pipeline?workbook_id=fYaAMEWv5BALFa3WVfihZT&run_id=PH6HpR7KgUEQzeMu6dkmpz)

Let me know if this works for you.

---

<div class="post-metadata">

**Author:** ![chris\_dyer](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@chris\_dyer](https://forum.gumloop.com/u/chris_dyer)\
**Post date:** [February 26, 2025, 7:08pm UTC](https://forum.gumloop.com/t/trying-to-scrape-gumloop-forum/1371/4 "2025-02-26T19:08:17Z")

</div>

Thanks for the reply @Wasay-Gumloop. I’m focusing on the second solution but this still didn’t work. I’m still getting blank values in my run. It looks like the run you had in your example didn’t have any blank values from the extracted data. I also tried filtering to Number is equal to “1, 2” and that had the same failure error.

[https://www.gumloop.com/pipeline?workbook\_id=hcGWUnCQ821nWsCZuAUAsB&run\_id=jhprfvBwHjNUM3Pb7oSCvY](https://www.gumloop.com/pipeline?workbook_id=hcGWUnCQ821nWsCZuAUAsB&run_id=jhprfvBwHjNUM3Pb7oSCvY)

---

<div class="post-metadata">

**Author:** ![Wasay-Gumloop](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.gumloop.com/wasay-gumloop/32/69_2.png) [@Wasay-Gumloop](https://forum.gumloop.com/u/Wasay-Gumloop)\
**Post date:** [February 26, 2025, 9:53pm UTC](https://forum.gumloop.com/t/trying-to-scrape-gumloop-forum/1371/5 "2025-02-26T21:53:12Z")

</div>

Hey @chris_dyer - You’re right that the `Filter` node failed because one of the inputs was blank:

 ![Screenshot 2025-02-27 at 2.51.06 AM](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/aaad8a4c424f2783eead29e409b0f5b3f4855342.png)

There are two options here:

1. You can add another filter node before the current one that filters out empty values. You can use the `Is not Empty` condition here.

2. Or you can bump up the AI model in the `Extract Data` node so that it sticks closely to this prompt: `Reply count on the posts. Never output a blank value here, output 0 instead. `

Let me know if these options work for you.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/gumloop/original/1X/d02ff8efcde6ac5d3ac8aa0376137d5f804da549.png) [@system](https://forum.gumloop.com/u/system)\
**Post date:** [March 3, 2025, 9:53am UTC](https://forum.gumloop.com/t/trying-to-scrape-gumloop-forum/1371/6 "2025-03-03T09:53:29Z")

</div>

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.
