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

Clone existing crawler with multi-line crawlingURL #655

Open
descention opened this issue Aug 16, 2024 · 0 comments
Open

Clone existing crawler with multi-line crawlingURL #655

descention opened this issue Aug 16, 2024 · 0 comments
Labels
bug Indicates an unexpected problem or unintended behavior crawler

Comments

@descention
Copy link

Steps to reproduce

  • Create a new crawler with many urls for crawlingURL
  • On /CrawlProfileEditor_p.html or /Table_API_p.html click the clone link on a crawler type line.
  • Nothing happens

Note, this may work with less links or an older version. It worked before updating from an old alpine-latest docker tag, but I don't know the date it was made and it no longer exists. I'm currently using the latest docker image as of 2024.08.16.

I manually copied the offending javascript and ran it in the console using backticks to get the clone link to work once. The source looks to use a double-quote for a multiline value.

                      var e = document.createElement("input");
           e.setAttribute("type", "hidden");
           e.setAttribute("name", "crawlingURL");
           e.setAttribute("value", "https://raw.githubusercontent.com/awesome-foss/awesome-sysadmin/master/README.md
https://raw.githubusercontent.com/colindaven/awesome-sysadmin/master/README.md
https://raw.githubusercontent.com/awesome-selfhosted/awesome-selfhosted/master/README.md
https://raw.githubusercontent.com/awesome-selfhosted/awesome-selfhosted/master/non-free.md
https://raw.githubusercontent.com/Hannibal046/Awesome-LLM/main/README.md
https://raw.githubusercontent.com/trimstray/the-book-of-secret-knowledge/master/README.md
https://raw.githubusercontent.com/lukasz-madon/awesome-remote-job/master/README.md
https://raw.githubusercontent.com/thangchung/awesome-dotnet-core/master/README.md
https://raw.githubusercontent.com/quozd/awesome-dotnet/master/README.md
https://raw.githubusercontent.com/EthicalML/awesome-production-machine-learning/master/README.md
https://raw.githubusercontent.com/djsime1/awesome-flipperzero/main/README.md
https://raw.githubusercontent.com/sindresorhus/awesome/main/readme.md");
           f.appendChild(e);
                      var e = document.createElement("input");
           e.setAttribute("type", "hidden");
           e.setAttribute("name", "countryMustMatchSwitch");
           e.setAttribute("value", "0");
           f.appendChild(e);
@okybaca okybaca added bug Indicates an unexpected problem or unintended behavior crawler labels Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior crawler
Projects
None yet
Development

No branches or pull requests

2 participants