I use scrapy-splash to tackle csrf based form authorization and cookie based session handling.
- Set and update cookies based on each response
- FormSubmition to get authorized token for Cookie
Configure scrapy-splash address in settings.py
Read more about scrapy splash Scrapy-Splash
My Facebook
