moda20 / facebook-scraper

Scrape Facebook public pages without an API key
MIT License
88 stars 28 forks source link

suggestion for CLI usage #24

Open talatoncu opened 11 months ago

talatoncu commented 11 months ago

@moda20 The start_url and base_url are must for get_posts. Unfortunately, these are not parameters for CLI usage (hence CLI uses m.facebook which does not return

tag, therefore no posts returned.)

Since CLI has several advantages over script, I think start_url and base_url must be added as parameters to the CLI usage.

On the other hand, a simple parameter such as --usembasic may be added so that the script may automatically generate start_url and base_url.

Thanks and regards

PS: I don't know where these parameters will be available to write_posts_to_csv function when added to CLI.