ArchivedUltimaScraper icon indicating copy to clipboard operation
ArchivedUltimaScraper copied to clipboard

Getting Started help

Open deadbeatdandylyon opened this issue 1 year ago • 15 comments

I am new to python and don't know jack so if you can help that would be greatly appreciated.

So my first step which was to Install Poetry https://python-poetry.org/docs/ went great without any issue.

image_2023-05-06_121211088

so I proceeded to the next step which Update: python updater.py - I receive the following information

image_2023-05-06_121351000

When I run Start: poetry run python start_us.py I get the following message

Screenshot 2023-05-06 121424

I am doing this all from the directory of where the "ultimascrapper-master" has been unzipped and using power shell, should I be using normal CMD with this instead or is there something that I skipped or am missing?

deadbeatdandylyon avatar May 06 '23 16:05 deadbeatdandylyon

You need to add the Poetry directory to your PATH, or provide the full path to the Poetry binary when you want to run it. This is mentioned in the last part of the first image.

pimodege avatar May 06 '23 20:05 pimodege

You need to add the Poetry directory to your PATH, or provide the full path to the Poetry binary when you want to run it. This is mentioned in the last part of the first image.

Thank you, I was able to move past that, where it says User Name below is that the user name of the creator account?

image

deadbeatdandylyon avatar May 06 '23 22:05 deadbeatdandylyon

You need to add the Poetry directory to your PATH, or provide the full path to the Poetry binary when you want to run it. This is mentioned in the last part of the first image.

Thank you, I was able to move past that, where it says User Name below is that the user name of the creator account?

image

Your username, but I think it doesn't matter what you put there

Also you might not want to post your cookies and xbc, idk what someone could do with them

Arko109 avatar May 07 '23 17:05 Arko109

You need to add the Poetry directory to your PATH, or provide the full path to the Poetry binary when you want to run it. This is mentioned in the last part of the first image.

Thank you, I was able to move past that, where it says User Name below is that the user name of the creator account? image

Your username, but I think it doesn't matter what you put there

Also you might not want to post your cookies and xbc, idk what someone could do with them

This isn't my information it's the screen shot digitalcriminal posted from the walkthrough

deadbeatdandylyon avatar May 07 '23 17:05 deadbeatdandylyon

but my next question is after I put all this information together and get the auth file configured correctly how do I go about actually running the script to scrape a profile that part still eludes me

deadbeatdandylyon avatar May 07 '23 17:05 deadbeatdandylyon

You need to add the Poetry directory to your PATH, or provide the full path to the Poetry binary when you want to run it. This is mentioned in the last part of the first image.

How do you add the Poetry directory to my path?

BlackDragon37 avatar Jun 10 '23 22:06 BlackDragon37

You need to add the Poetry directory to your PATH, or provide the full path to the Poetry binary when you want to run it. This is mentioned in the last part of the first image.

How do you add the Poetry directory to my path?

You can do it temporarily with set PATH=%PATH%;%USERPROFILE%\AppData\Roaming\pypoetry\venv\Scripts

Or go into the windows environment set up and add it to path C:\User<myUserName>\AppData\Roaming\pypoetry\venv\Scripts

estoat avatar Jun 11 '23 05:06 estoat

You need to add the Poetry directory to your PATH, or provide the full path to the Poetry binary when you want to run it. This is mentioned in the last part of the first image.

How do you add the Poetry directory to my path?

You can do it temporarily with set PATH=%PATH%;%USERPROFILE%\AppData\Roaming\pypoetry\venv\Scripts

Or go into the windows environment set up and add it to path C:\User<myUserName>\AppData\Roaming\pypoetry\venv\Scripts

This is what I get:

PS C:\Users\Unknown\Downloads\UltimaScraper-master> C:\Users\Unknown\AppData\Roaming\pypoetry\venv\Scripts\python updater.py C:\Users\Unknown : The term 'C:\Users\Unknown' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

  • C:\Users\Unknown\AppData\Roaming\pypoetry\venv\Scripts\python up ...
  •   + CategoryInfo          : ObjectNotFound: (C:\Users\Unknown:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    

BlackDragon37 avatar Jun 11 '23 23:06 BlackDragon37

Is that where the updater.py file is? or is it under C:\Users\Unknown\Downloads\UltimaScraper-master\ updater.py

I can see you are already in that directory so whjat happens when you try to just type python updater.py

If that doesn't work consider using CMD instead. I use that and it seems to work fine for me.

estoat avatar Jun 12 '23 07:06 estoat

Is that where the updater.py file is? or is it under C:\Users\Unknown\Downloads\UltimaScraper-master\ updater.py

I can see you are already in that directory so whjat happens when you try to just type python updater.py

If that doesn't work consider using CMD instead. I use that and it seems to work fine for me.

On Powershell and CMD it produces:

PS C:\Users\Unknown\Downloads\UltimaScraper-master> python updater.py Traceback (most recent call last): File "updater.py", line 39, in all_files: list[Path] = [] TypeError: 'type' object is not subscriptable

BlackDragon37 avatar Jun 12 '23 23:06 BlackDragon37

Whats the error code from command prompt?

On Tue, 13 June 2023, 9:52 am Madvillain, @.***> wrote:

Is that where the updater.py file is? or is it under C:\Users\Unknown\Downloads\UltimaScraper-master\ updater.py

I can see you are already in that directory so whjat happens when you try to just type python updater.py

If that doesn't work consider using CMD instead. I use that and it seems to work fine for me.

On Powershell and CMD it produces:

PS C:\Users\Unknown\Downloads\UltimaScraper-master> python updater.py Traceback (most recent call last): File "updater.py", line 39, in all_files: list[Path] = [] TypeError: 'type' object is not subscriptable

— Reply to this email directly, view it on GitHub https://github.com/DIGITALCRIMINALS/UltimaScraper/issues/988#issuecomment-1588259062, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJMIRZ6MWIJIGFHKR22IKDXK6TSVANCNFSM6AAAAAAXYGX224 . You are receiving this because you commented.Message ID: @.***>

estoat avatar Jun 13 '23 02:06 estoat

Whats the error code from command prompt? On Tue, 13 June 2023, 9:52 am Madvillain, @.> wrote: Is that where the updater.py file is? or is it under C:\Users\Unknown\Downloads\UltimaScraper-master\ updater.py I can see you are already in that directory so whjat happens when you try to just type python updater.py If that doesn't work consider using CMD instead. I use that and it seems to work fine for me. On Powershell and CMD it produces: PS C:\Users\Unknown\Downloads\UltimaScraper-master> python updater.py Traceback (most recent call last): File "updater.py", line 39, in all_files: list[Path] = [] TypeError: 'type' object is not subscriptable — Reply to this email directly, view it on GitHub <#988 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJMIRZ6MWIJIGFHKR22IKDXK6TSVANCNFSM6AAAAAAXYGX224 . You are receiving this because you commented.Message ID: @.>

The same error code as Powershell.

BlackDragon37 avatar Jun 13 '23 22:06 BlackDragon37

What about when you try to run "poetry run python start_us.py"

estoat avatar Jun 14 '23 05:06 estoat

When I try to run the python updater.py I recieve the following error - I am running this through Command Prompt Window

image

What am I missing?

deadbeatdandylyon avatar Jun 15 '23 14:06 deadbeatdandylyon

Personaly, I run this repo on Windows 11 and met bunch of errors, then I turn into Dockfile also met huge of mass, now I docker an ubuntu 20.04 to run this project, even though still some issues, but now it works after all.

I highly recommand using Linux OS instead of Windows, make a ubuntu Container and bind a folder in it docker run -v would get better QOL on it.

kwangsing3 avatar Jun 19 '23 09:06 kwangsing3