fabienvauchelles / scrapoxy

Scrapoxy is a super proxy aggregator, allowing you to manage all proxies in one place 🎯, rather than spreading it across multiple scrapers 🕸️. It also smartly handles traffic routing 🔀 to minimize bans and increase success rates 🚀.
http://scrapoxy.io
MIT License
1.89k stars 232 forks source link

Project Settings Username/Password Fails to Copy #214

Closed matt-gorman closed 6 months ago

matt-gorman commented 6 months ago

Current Behavior

Problem

When attempting to get the Username and Password out of Project Settings to integrate with Scrapy, both fail to copy and give the error:

fail_to_copy

Setup is running a Docker deployment, attempted multiple browsers (Firefox 120.0.1, Safari 17.2) with the same result.

Wasn't able to find logs related to this issue.

I haven't done much with Node, so if there are logs somewhere that can be gathered, let me know and can see what I can find.

Quick Fix

For anyone else that runs into this and needs to copy, the Username can be highlighted and copied, but the Password needs exposed first. To do this, open web developer tools, find the HTML node with the password (input id="password")

password

Change the type from password to text, password should be visible.

text

Expected Behavior

When clipboard button is clicked, contents of the box will be copied to the clipboard for usage in Scrapy settings.

Steps to Reproduce

  1. Pull and run Docker container
  2. Create Project
  3. Check Project Settings, attempt to copy

Failure Logs

No response

Scrapoxy Version

fabienvauchelles/scrapoxy:latest

Custom Version

Deployment

Operating System

Storage

Additional Information

No response

fabienvauchelles commented 6 months ago

Hi @matt-gorman ,

Thanks a lot for reporting the issue.

I've got a question about the version used. The issue specifies 'latest'.

However, which version is it ? 4.2.2 ?

Because I've released a corrected version 4.2.3 yesterday.

fabienvauchelles commented 6 months ago

I will also add a button to "decypher" the password, like in other forms

matt-gorman commented 6 months ago

Hi @matt-gorman ,

Thanks a lot for reporting the issue.

I've got a question about the version used. The issue specifies 'latest'.

However, which version is it ? 4.2.2 ?

Because I've released a corrected version 4.2.3 yesterday.

@fabienvauchelles, package.json says it's version 4.2.2.

fabienvauchelles commented 6 months ago

Cool. Can you pull the version 4.2.3 ? It should be solved

matt-gorman commented 6 months ago

Looks like you pushed 4.2.3 right after I pulled and ran 4.2.2. However, updated to 4.2.3 and looks good, thanks!

copied