Search This Blog

Sunday, October 22, 2017

Pytrends python tool for SEO

pytrends 4.3.0

    Allows simple interface for automating downloading of reports from Google Trends. Main feature is to allow the script to login to Google on your behalf to enable a higher rate limit. Only good until Google changes their backend again :
    Below you see from cmd test result of script found github example .py . On http://searchwilderness.com I found article how to use  pytrend tool. Calculate Keyword Growth Using Google Trends, Python, and the Slope Formula  During a presentation I gave at Distilled’s SearchLove Boston conference in early May, I advocated that people use the slope formula and Google Trends data to determine if interest keywords have grown over time or if they are slipping away into searcher oblivion.
    I will see by testing how it useful in practical SEO job.

C:\Users\ANTRAS\Desktop>python SUMMARYTEST2.py
            pizza  bagel isPartial
date
2012-10-28     67      1     False
2012-11-04     60      1     False
2012-11-11     60      1     False
2012-11-18     58      1     False
2012-11-25     60      1     False
           pizza  bagel
geoName
Argentina     18      0
Australia     67      1
Austria       24      0
Belgium       34      0
Brazil        23      0
{}
       date                                         exploreUrl  \
0  20171021  /trends/explore#q=penn+state+football&date=now...
1  20171021  /trends/explore#q=sweetest+day+2017&date=now+7...
2  20171021    /trends/explore#q=Lis+Wiehl&date=now+7-d&geo=US
3  20171021  /trends/explore#q=Finn+Wolfhard&date=now+7-d&g...
4  20171021   /trends/explore#q=Notre+Dame&date=now+7-d&geo=US

      formattedTraffic hotnessColor  hotnessLevel  \
0  Daugiau nei 500 000      #db601e           4.0
1  Daugiau nei 200 000      #e68033           3.0
2  Daugiau nei 100 000      #e68033           3.0
3  Daugiau nei 100 000      #e68033           3.0
4  Daugiau nei 100 000      #e68033           3.0

                                          imgLinkUrl           imgSource  \
0  https://www.si.com/college-football/2017/10/21...  Sports Illustrated
1  http://www.news5cleveland.com/entertainment/ar...    News 5 Cleveland
2  https://heavy.com/news/2017/10/lis-wiehl-bill-...           Heavy.com
3  http://www.telegraph.co.uk/on-demand/2017/10/2...     Telegraph.co.uk
4  https://www.indystar.com/story/sports/college/...   Indianapolis Star

                                              imgUrl  \
0  //t2.gstatic.com/images?q=tbn:ANd9GcSNbPnwo1kB...
1  //t0.gstatic.com/images?q=tbn:ANd9GcQqafveq3WP...
2  //t3.gstatic.com/images?q=tbn:ANd9GcT0k4K2qnXB...
3  //t2.gstatic.com/images?q=tbn:ANd9GcRtjLcAcpBt...
4  //t3.gstatic.com/images?q=tbn:ANd9GcTG-7vAt4v6...

                                    newsArticlesList  \
0  [{u'snippet': u'STATE COLLEGE, Pa. ? A Beaver ...
1  [{u'snippet': u'CLEVELAND - Some may consider ...
2  [{u'snippet': u'<b>Lis Wiehl</b>, a former Fox...
3  [{u'snippet': u'Stranger Things star <b>Finn W...
4  [{u'snippet': u'SOUTH BEND ? Brian Kelly wrote...

                                 relatedSearchesList  safe  \
0  [{u'query': u'Penn State', u'safe': True}, {u'...   1.0
1  [{u'query': u'When Is Sweetest Day', u'safe': ...   1.0
2                                                 []   1.0
3      [{u'query': u'Tyler Grasham', u'safe': True}]   1.0
4  [{u'query': u'Usc Vs Notre Dame', u'safe': True}]   1.0

                                            shareUrl     startTime  \
0  https://www.google.com/trends/hottrends?stt=Pe...  1.508634e+09
1  https://www.google.com/trends/hottrends?stt=Sw...  1.508591e+09
2  https://www.google.com/trends/hottrends?stt=Li...  1.508623e+09
3  https://www.google.com/trends/hottrends?stt=Fi...  1.508598e+09
4  https://www.google.com/trends/hottrends?stt=No...  1.508638e+09

                 title                                   titleLinkUrl  \
0  Penn State football  //www.google.com/search?q=Penn+State+football
1    Sweetest Day 2017    //www.google.com/search?q=Sweetest+Day+2017
2            Lis Wiehl            //www.google.com/search?q=Lis+Wiehl
3        Finn Wolfhard        //www.google.com/search?q=Finn+Wolfhard
4           Notre Dame           //www.google.com/search?q=Notre+Dame

   trafficBucketLowerBound
0                 500000.0
1                 200000.0
2                 100000.0
3                 100000.0
4                 100000.0
   delta                       deltaSummary  \
0    3.0  <b> + 3</b> nuo pra?jusio m?nesio
1    1.0  <b> + 1</b> nuo pra?jusio m?nesio
2    2.0  <b> + 2</b> nuo pra?jusio m?nesio
3    NaN            <b>Nauja</b> diagramoje
4   -3.0    <b>-3</b> nuo pra?jusio m?nesio

                                         description  \
0  {u'source': u'Wikipedia', u'sourceUrl': u'http...
1  {u'source': u'Wikipedia', u'sourceUrl': u'http...
2  {u'source': u'Wikipedia', u'sourceUrl': u'http...
3  {u'source': u'Wikipedia', u'sourceUrl': u'http...
4  {u'source': u'Wikipedia', u'sourceUrl': u'http...

                                          exploreUrl hotnessColor  \
0  /trends/explore?q=/m/09gkdy4&date=2016-11-1+20...      #d04108
1  /trends/explore?q=/m/0214xp&date=2016-11-1+201...      #d04108
2  /trends/explore?q=/m/0gs6vr&date=2016-11-1+201...      #d04108
3  /trends/explore?q=/m/01xwv7&date=2016-11-1+201...      #d04108
4  /trends/explore?q=/m/0bdxs5&date=2016-11-1+201...      #d04108

   hotnessLevel   idForTracking  isNew                    peakRankSummary  \
0             5   Ariana Grande  False  Pakilo iki <b>#1</b> (per m?nes?)
1             5     Sunny Leone  False  Pakilo iki <b>#2</b> (per m?nes?)
2             5    Selena Gomez  False  Pakilo iki <b>#1</b> (per m?nes?)
3             5  Dave Chappelle   True  Pakilo iki <b>#3</b> (per m?nes?)
4             5     Miley Cyrus  False  Pakilo iki <b>#1</b> (per m?nes?)

                                            shareUrl  \
0  https://trends.google.com/trends/topcharts?vm=...
1  https://trends.google.com/trends/topcharts?vm=...
2  https://trends.google.com/trends/topcharts?vm=...
3  https://trends.google.com/trends/topcharts?vm=...
4  https://trends.google.com/trends/topcharts?vm=...

                          timePeriodsInChartSummary           title  \
0      <b>51 m?nuo</b> 10 populiariausi? diagramoje   Ariana Grande
1    <b>17 m?nesi?</b> 10 populiariausi? diagramoje     Sunny Leone
2  <b>105 m?nesiai</b> 10 populiariausi? diagramoje    Selena Gomez
3    <b>9 m?nesiai</b> 10 populiariausi? diagramoje  Dave Chappelle
4     <b>121 m?nuo</b> 10 populiariausi? diagramoje     Miley Cyrus

   titleLength                              titleLinkUrl trafficSummary  \
0           13   //www.google.com/search?q=Ariana+Grande            100
1           11     //www.google.com/search?q=Sunny+Leone             84
2           12    //www.google.com/search?q=Selena+Gomez             81
3           14  //www.google.com/search?q=Dave+Chappelle             81
4           11     //www.google.com/search?q=Miley+Cyrus             80

                                twitterShareUrlTitle
0  Ariana Grande yra Nr. 1 ?Google? tendencij? di...
1  Sunny Leone yra Nr. 2 ?Google? tendencij? diag...
2  Selena Gomez yra Nr. 3 ?Google? tendencij? dia...
3  Dave Chappelle yra Nr. 4 ?Google? tendencij? d...
4  Miley Cyrus yra Nr. 5 ?Google? tendencij? diag...
[{u'type': u'Dish', u'mid': u'/m/0663v', u'title': u'Pizza'}, {u'type': u'Restaurant company', u'mid': u'/m/09cfq', u'title': u'Pizza Hut'}, {u'type': u'Topic', u'mid': u'/m/05m1lt', u'title': u'Pizza delivery'}, {u'type': u'Restaurant company', u'mid': u'/m/03clwm', u'title': u"Domino's Pizza"}, {u'type': u'Fast food restaurant company', u'mid': u'/m/021sqj', u'title': u'Pizza Pizza'}]

No comments: