facebook-scraper icon indicating copy to clipboard operation
facebook-scraper copied to clipboard

suggestion for CLI usage

Open talatoncu opened this issue 1 year ago • 0 comments

@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.

talatoncu avatar Dec 28 '23 18:12 talatoncu