Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup paramValueString-s #139

Open
theDavidBarton opened this issue May 28, 2019 · 3 comments
Open

cleanup paramValueString-s #139

theDavidBarton opened this issue May 28, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@theDavidBarton
Copy link
Owner

currently many of the reataurant menus contain:

  • day names,
  • multiple spaces (using \\s\\s+ vas not an option, causes trim error!),
  • no spaces between words,
  • incostistent upper and lowercase menus
  • unneccesary elements
    • prices in the middle of string,
    • daily fruit soup line in Nokedli,
    • too many offers for expensive price in Bodza.
@theDavidBarton theDavidBarton added the enhancement New feature or request label May 28, 2019
@theDavidBarton theDavidBarton self-assigned this May 28, 2019
@theDavidBarton
Copy link
Owner Author

for Korhely this workaround makes the space between the dishes:
$$('#mainDiv > div > div:nth-child(2) > section > ul > li:nth-child(1)')[0].innerText.replace(/\r?\n/gi, ', ')

@theDavidBarton
Copy link
Owner Author

this issue had a great progress in the past months, however the listed points mostly still waiting for a nicer solution, I leave this issue opened for motivation: it can be done better! 🚀

@theDavidBarton
Copy link
Owner Author

should be handled when a "pascalcase" or "camelcase" like wordchain present in the output the program could add an extra space or comma betwwen them. e.g. Korhely: "Sárgaborsó gulyásGyömbéres-chilis sütőtök", "Mátrai borzas hasábburgonyávalSavanyú vetrece spagettivelRakott karfiolParadicsomos káposzta".

@theDavidBarton theDavidBarton pinned this issue Nov 21, 2019
@theDavidBarton theDavidBarton unpinned this issue Oct 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant