this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix for since_id bug, closes #58 (#59)

Fixes remaining instances of this bug

authored by

Ruben Vermeersch and committed by
GitHub
91aa5f57 74726190

+3 -12
+3 -12
twitter_to_sqlite/cli.py
··· 336 336 @click.option( 337 337 "--since", 338 338 is_flag=True, 339 - default=False, 340 339 help="Pull tweets since last retrieved tweet", 341 340 ) 342 - @click.option( 343 - "--since_id", type=str, default=False, help="Pull tweets since this Tweet ID" 344 - ) 341 + @click.option("--since_id", type=str, help="Pull tweets since this Tweet ID") 345 342 def home_timeline(db_path, auth, since, since_id): 346 343 "Save tweets from timeline for authenticated user" 347 344 _shared_timeline( ··· 371 368 @click.option( 372 369 "--since", 373 370 is_flag=True, 374 - default=False, 375 371 help="Pull tweets since last retrieved mention", 376 372 ) 377 - @click.option( 378 - "--since_id", type=str, default=False, help="Pull mentions since this Tweet ID" 379 - ) 373 + @click.option("--since_id", type=str, help="Pull mentions since this Tweet ID") 380 374 def mentions_timeline(db_path, auth, since, since_id): 381 375 "Save tweets that mention the authenticated user" 382 376 _shared_timeline( ··· 790 784 @click.option( 791 785 "--since", 792 786 is_flag=True, 793 - default=False, 794 787 help="Pull tweets since last retrieved tweet", 795 788 ) 796 789 @click.option( ··· 803 796 @click.option("--result_type", type=click.Choice(["mixed", "recent", "popular"])) 804 797 @click.option("--count", type=int, default=100, help="Number of results per page") 805 798 @click.option("--stop_after", type=int, help="Stop after this many") 806 - @click.option( 807 - "--since_id", type=str, default=False, help="Pull tweets since this Tweet ID" 808 - ) 799 + @click.option("--since_id", type=str, help="Pull tweets since this Tweet ID") 809 800 def search(db_path, q, auth, since, **kwargs): 810 801 """ 811 802 Save tweets from a search. Full documentation here: