我想找到一种方法来跟踪fb市场搜索。我尝试过在其他网站上成功地使用distill.io,但在facebook上失败了。
我提出了这个问题来提炼支持,他们告诉我,facebook市场定期更新,自动生成的选择器不起作用,必须手动编码。
我已经尝试过这一点,但不精通css,无法看到我如何去手动做这件事。
是否有其他应用程序或方法可以让我监控市场?
谢谢
发布于 2020-07-10 22:30:27
如果你更改了最高和最低价格,Facebook只会刷新市场页面,并根据最近发布的内容进行过滤。这段代码打开随机的facebook链接,其中包含我想要的价格范围类别的各种价格。
这只适用于当你登录到market place时,在你的url上添加你的号码。例如,使用:
然后将url中的最大和最小价格更改为您所需范围附近的随机数。您需要每隔几分钟单击此按钮手动刷新一次。
我现在的问题是通过distill.io接收警报,使用一种生成随机链接的方法。有人知道我如何根据最近发布的项目的文本更改来设置提醒吗?
<!DOCTYPE html>
<html>
<body>
<h1>Facebook Refresh</h1>
<p>Click the button to trigger random price change to allow facebook to refresh newest links</p>
<button onclick="randomSite()">Click me</button>
<p id="demo"></p>
<script>
var sites = [
'https://www.facebook.com/marketplace/vehicles?minPrice=100&maxPrice=9000&sortBy=creation_time_descend&exact=false',
'https://www.facebook.com/marketplace/vehicles?minPrice=200&maxPrice=8500&sortBy=creation_time_descend&exact=false',
'https://www.facebook.com/marketplace/vehicles?minPrice=200&maxPrice=8501&sortBy=creation_time_descend&exact=false',
'https://www.facebook.com/marketplace/vehicles?minPrice=240&maxPrice=8300&sortBy=creation_time_descend&exact=false',
'https://www.facebook.com/marketplace/vehicles?minPrice=203&maxPrice=9211&sortBy=creation_time_descend&exact=false',
'https://www.facebook.com/marketplace/vehicles?minPrice=204&maxPrice=8600&sortBy=creation_time_descend&exact=false',
'https://www.facebook.com/marketplace/vehicles?minPrice=1065&maxPrice=9000&sortBy=creation_time_descend&exact=false',
'https://www.facebook.com/marketplace/vehicles?minPrice=260&maxPrice=8500&sortBy=creation_time_descend&exact=false',
];
function randomSite() {
var i = parseInt(Math.random() * sites.length);
location.href = sites[i];
}
</script>
</body>
</html>https://stackoverflow.com/questions/61987856
复制相似问题