python-semrush
python-semrush copied to clipboard
Change to splitlines
Here:
https://github.com/storerjeremy/python-semrush/blob/4dfd72d82185784180f739e219082c444c08b640/python_semrush/semrush.py#L79
Change to:
lines = data.splitlines()
Here:
https://github.com/storerjeremy/python-semrush/blob/4dfd72d82185784180f739e219082c444c08b640/python_semrush/semrush.py#L67
Add:
if 'export_columns' in kwargs:
kwargs['export_columns'] = ",".join([c.strip() for c in kwargs['export_columns'].split(',')])