2 from django.conf import settings
 
   6 def get_woblink_session(*args, **kwargs):
 
   7     session = requests.Session()
 
   8     response = session.get('https://publisher.woblink.com/login')
 
  10         r'name="_csrf_token" value="([^"]+)"',
 
  16     data.update(settings.WOBLINK_CREDENTIALS)
 
  17     response = session.post(
 
  18         'https://publisher.woblink.com/login_check',