disinfoRG / FbScraper

MIT License
3 stars 2 forks source link

Support update article urls of a given site id #35

Closed dieface closed 4 years ago

dieface commented 4 years ago

Tested with script below: $ python3 fb_site.py 20 --update --headful $ python3 fb_site.py 20 --update $ python3 fb_site.py 90 $ python3 fb_post.py 2400

pm5 commented 4 years ago

我想這樣做不太好 https://github.com/disinfoRG/FbScraper/pull/35 因為

  1. 這樣看起來 site update 如果要 update N 篇文章,browser 就會開啟關閉 N 次
  2. 看 fb_site.py 的程式的人,會看不懂 fb_post.main 這個 function 在做什麼,為什麼要這樣傳參數給它