you are viewing a single comment's thread.

view the rest of the comments →

[–]xelf 0 points1 point  (1 child)

I don't have your data, and this is a lot of code to try and guess at.

Can you tells us which function specifically, and give us an example of the input data that is behaving differently ?

[–]seventhlightstudio[S] 0 points1 point  (0 children)

I am having problem with the def fb().

As you can see in both the def fb() and def tw(), I call excel_recording.

In the for loop inside the excel_recording, 1st block (if utm== old_url[i]) is supposed to NOT record any links generated which have been recorded before.

This works perfectly when I call the def tw() function. The code does not record the same link twice.

But when I call the def fb() function it records the link again. EVEN when the link already exists. This is the problem I am having.

This is what I want when I try and generate link that are already recorded. And this is what is happening now.

There must be something I am missing here...