Skip to content

"ERROR no urls" on direction-gathering? #11

@KarlRamstedt

Description

@KarlRamstedt

This happened both for meanrecipe -recipe coleslaw and meanrecipe -recipe 'chocolate chip cookies'; seems like a widespread issue.
I think only the end where it errors out is relevant, but here's the full log just in case:

meanrecipe -recipe coleslaw

         ___ ___    ___   ____  ____       ____     ___    __  ____  ____   ___
        |   |   |  /  _] /    ||    \     |    \   /  _]  /  ]|    ||    \ /  _]
        | _   _ | /  [_ |  o  ||  _  |    |  D  ) /  [_  /  /  |  | |  o  )  [_
        |  \_/  ||    _]|     ||  |  |    |    / |    _]/  /   |  | |   _/    _]
        |   |   ||   [_ |  _  ||  |  |    |    \ |   [_/   \_  |  | |  | |   [_
        |   |   ||     ||  |  ||  |  |    |  .  \|     \     | |  | |  | |     |
        |___|___||_____||__|__||__|__|    |__|\_||_____|\____||____||__| |_____|
                  _  _
                _/0\/ \_
        .-.   .-` \_/\0/ '-.
       /:::\ / ,_________,  \
      /\:::/ \  '. (:::/  `'-;
      \ `-'`\ '._ `"'"'\__    \
      `'-.  \   `)-=-=(  `,   |
          \  `-"`      `"-`   /


←[36m[INFO]←[0m querying urls for 'best coleslaw recipe'
←[36m[INFO]←[0m found 405 urls for 'best coleslaw recipe'
←[36m[INFO]←[0m downloading...
 100% |████████████████████████████████████████| [9s:0s]
←[36m[INFO]←[0m downloaded 391 urls in 9.7500575s
←[36m[INFO]←[0m querying urls for 'favorite coleslaw recipe'
←[36m[INFO]←[0m found 336 urls for 'favorite coleslaw recipe'
←[36m[INFO]←[0m downloading...
 100% |████████████████████████████████████████| [9s:0s]
←[36m[INFO]←[0m downloaded 334 urls in 9.0114886s
←[36m[INFO]←[0m querying urls for 'homemade coleslaw recipe'
←[36m[INFO]←[0m found 393 urls for 'homemade coleslaw recipe'
←[36m[INFO]←[0m downloading...
 100% |████████████████████████████████████████| [6s:0s]
←[36m[INFO]←[0m downloaded 391 urls in 6.6838181s
←[36m[INFO]←[0m querying urls for 'simple recipe for coleslaw'
←[36m[INFO]←[0m found 412 urls for 'simple recipe for coleslaw'
←[36m[INFO]←[0m downloading...
 100% |████████████████████████████████████████| [7s:0s]
←[36m[INFO]←[0m downloaded 405 urls in 8.2969438s
←[36m[INFO]←[0m querying urls for 'basic coleslaw recipe'
←[36m[INFO]←[0m found 426 urls for 'basic coleslaw recipe'
←[36m[INFO]←[0m downloading...
 100% |████████████████████████████████████████| [7s:0s]
←[36m[INFO]←[0m downloaded 424 urls in 7.6144668s
←[36m[INFO]←[0m querying urls for 'recipe for coleslaw from scratch'
←[36m[INFO]←[0m found 378 urls for 'recipe for coleslaw from scratch'
←[36m[INFO]←[0m downloading...
 100% |████████████████████████████████████████| [6s:0s]
←[36m[INFO]←[0m downloaded 374 urls in 6.619885s
←[36m[INFO]←[0m querying urls for 'yummy coleslaw recipe'
←[36m[INFO]←[0m found 358 urls for 'yummy coleslaw recipe'
←[36m[INFO]←[0m downloading...
 100% |████████████████████████████████████████| [7s:0s]
←[36m[INFO]←[0m downloaded 354 urls in 8.1550018s
←[36m[INFO]←[0m getting all recipes
←[36m[INFO]←[0m parsing 1571 prospective recipes
 100% |████████████████████████████████████████| [12s:0s]
←[36m[INFO]←[0m got 1571 recipes
←[36m[INFO]←[0m finding best cluster
←[36m[INFO]←[0m clustering with 1090 / 1571 recipes
←[36m[INFO]←[0m wrote analyzed recipes to recipes/coleslaw/mean_recipes.json
←[36m[INFO]←[0m clustering with 1090 / 1571 recipes
←[36m[INFO]←[0m wrote analyzed recipes to recipes/coleslaw/mean_recipes.json
←[36m[INFO]←[0m clustering with 1090 / 1571 recipes
←[36m[INFO]←[0m wrote analyzed recipes to recipes/coleslaw/mean_recipes.json
←[36m[INFO]←[0m clustering with 1090 / 1571 recipes
←[36m[INFO]←[0m wrote analyzed recipes to recipes/coleslaw/mean_recipes.json
←[36m[INFO]←[0m clustering with 1090 / 1571 recipes
←[36m[INFO]←[0m wrote analyzed recipes to recipes/coleslaw/mean_recipes.json
←[36m[INFO]←[0m map[cabbage:6 lemon juice:1 sugar:7 apple cider vinegar:2 celery seed:4 dijon mustard:1 milk:1 vinegar:1 carrot:5 mayonnaise:7 pepper:4 salt:5 onion:2 white vinegar:2 mustard:1 white wine vinegar:1 buttermilk:1]
←[36m[INFO]←[0m getting directions for recipe 0
←[36m[INFO]←[0m getting recipe url for coleslaw +[] -[salt] (https://www.allrecipes.com/search/results/?wt=coleslaw&ingIncl=&ingExcl=salt&sort=re)
2021-10-21 21:48:23 ←[33m[WARN]←[0m run.go Run:145 no urls
←[36m[INFO]←[0m getting directions for recipe 1
←[36m[INFO]←[0m getting recipe url for coleslaw +[apple+cider+vinegar dijon+mustard] -[] (https://www.allrecipes.com/search/results/?wt=coleslaw&ingIncl=apple+cider+vinegar,dijon+mustard&ingExcl=&sort=re)
2021-10-21 21:48:24 ←[33m[WARN]←[0m run.go Run:145 no urls
←[36m[INFO]←[0m getting directions for recipe 2
←[36m[INFO]←[0m getting recipe url for coleslaw +[apple+cider+vinegar] -[carrot] (https://www.allrecipes.com/search/results/?wt=coleslaw&ingIncl=apple+cider+vinegar&ingExcl=carrot&sort=re)
2021-10-21 21:48:25 ←[33m[WARN]←[0m run.go Run:145 no urls
←[36m[INFO]←[0m getting directions for recipe 3
←[36m[INFO]←[0m getting recipe url for coleslaw +[buttermilk lemon+juice milk onion white+vinegar] -[] (https://www.allrecipes.com/search/results/?wt=coleslaw&ingIncl=buttermilk,lemon+juice,milk,onion,white+vinegar&ingExcl=&sort=re)
2021-10-21 21:48:25 ←[33m[WARN]←[0m run.go Run:145 no urls
←[36m[INFO]←[0m getting directions for recipe 4
←[36m[INFO]←[0m getting recipe url for coleslaw +[onion vinegar] -[] (https://www.allrecipes.com/search/results/?wt=coleslaw&ingIncl=onion,vinegar&ingExcl=&sort=re)
2021-10-21 21:48:25 ←[33m[WARN]←[0m run.go Run:145 no urls
←[36m[INFO]←[0m getting directions for recipe 5
←[36m[INFO]←[0m getting recipe url for coleslaw +[white+vinegar] -[carrot cabbage] (https://www.allrecipes.com/search/results/?wt=coleslaw&ingIncl=white+vinegar&ingExcl=carrot,cabbage&sort=re)
2021-10-21 21:48:26 ←[33m[WARN]←[0m run.go Run:145 no urls
←[36m[INFO]←[0m getting directions for recipe 6
←[36m[INFO]←[0m getting recipe url for coleslaw +[mustard white+wine+vinegar] -[salt] (https://www.allrecipes.com/search/results/?wt=coleslaw&ingIncl=mustard,white+wine+vinegar&ingExcl=salt&sort=re)
2021-10-21 21:48:27 ←[33m[WARN]←[0m run.go Run:145 no urls
ERROR no urls

Same error when I re-run the command, I assume it's related to gathering instructions.
I can still manually read the mean_recipes.json file to find cluster info, but only using the JSON removes a lot of the usability with the poor readability(formatting) and the lack of directions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions