Skip to content

Commit ecbbeab

Browse files
committed
Skip www subdomain
http://no-www.org
1 parent e16b181 commit ecbbeab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

postprocessing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
print(f'Running for user \'{csvuser}\'')
2323

2424
fg = FeedGenerator()
25-
fg.id('https://www.tiktok.com/@' + csvuser)
25+
fg.id('https://tiktok.com/@' + csvuser)
2626
fg.title(csvuser + ' TikTok')
2727
fg.author( {'name':'Conor ONeill','email':'[email protected]'} )
2828
fg.link( href='http://tiktok.com', rel='alternate' )
@@ -44,7 +44,7 @@
4444
break
4545
i = i + 1
4646
# print(video.create_time, video.desc)
47-
print("URL = " + "https://www.tiktok.com/@" + csvuser + "/video/" + str(video.id))
47+
print("URL = " + "https://tiktok.com/@" + csvuser + "/video/" + str(video.id))
4848
fe = fg.add_entry()
4949
link = "https://tiktok.com/@" + csvuser + "/video/" + str(video.id)
5050
fe.id(link)

0 commit comments

Comments
 (0)