When I write URLs to Excel (from a Python script), any over 255 characters are not written. But I don't actually need the URL to have a hyperlink attached to it.
For example I need 'www.ebay.co.uk' but I do not need 'www.ebay.co.uk'. As long as I have the text, then the next part of my script will work fine.
I tried str() and .text but had no luck with either
str()
if (post.get('title'))!=None:
df1.loc[Row] = [str((post.get('href'))),Row]
Row = Row + 1
.text
if (post.get('title'))!=None:
df1.loc[Row] = [(post.get('href')).text,Row]
Row = Row + 1
