ktynski / Marketing_Automations_Notebooks_With_GPT

A collection of automations and experiments exploring the applications of generative AI in Marketing, SEO, and Public Relations
358 stars 80 forks source link

Code errors #3

Open overtop-seo opened 1 year ago

overtop-seo commented 1 year ago

Hi, I have tested the Long-article tool (Automatic_Article_Outline_Generation_by_Analyzing_The_Article....) and looks like it has 2 problems. 1. Files are always empty, 2. 'Article Text' generated error in the final code, provoked by correct openAI API key. Anyway, thank you for sharing!

hammad786 commented 1 year ago

That's what I'm facing as well. Please post the solution here once you're able to get it worked. Thank you in advance.

chriswagner0815 commented 1 year ago

The error comes from the fact that the headers use a very old Chrome (58) user agent. If you use this one:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.49 Safari/537.36

it worked well for me.

hammad786 commented 1 year ago

It worked for me. Thanks so much

The error comes from the fact that the headers use a very old Chrome (58) user agent. If you use this one:

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.5615.49 Safari/537.36

it worked well for me.