GithubHelp home page GithubHelp logo

nfts-upload-to-opensea's Introduction

NFTs_Upload_To_OpenSea

YOUTUBE VIDEO -> https://www.youtube.com/watch?v=dk_N53vnJiY

  1. Download Python and Chrome browser
  2. pip install -r requirements.txt
  3. python openseaupload.py (Run the script)
  4. Press the "Open Chrome Browser" button
  5. Set up your metamask wallet and login to Opensea using your wallet
  6. Open the collection you want to upload to and copy the link
  7. Click Start button

Credits @cloudmaking

nfts-upload-to-opensea's People

Contributors

nftdevs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nfts-upload-to-opensea's Issues

Hack issue

Does anybody lose his money? It is risky to let this app to have access to the password of your metamask wallet. Does anyone find another way to upload multiple NFT's on Opensea?

chrome error

hi , and thanks
the error is when it wants to run there is issue with chrome version , it says it wokrs at chrome 94 . but chrome now is 96 and there is no way for down grade chrome , eveytime chrome updates , so what we can do ?

thanks

integrate _metadata.json = no need for smart contracts ever

teaching this program to automatically add the traits of an nft will remove the needs for costly smart contracts. the _metadata.json file generated from hashlips' code already has all the traits in a single file making it a lot easier to edit by the user and making it relatively simpler to integrate into this program. furthermore, building this program around the metadata provides users to manually edit the description per nft on the metadata file before running the program. there are other features that can be included but the important ones that i mentioned are enough for most users. lastly, people no longer have to hassle and to use all the unnecessary stuff related to testnets.

selenium.common.exceptions.TimeoutException: Message:

Fails as simple mini mouse macro clicker

C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\original>python upload.py
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\original\upload.py:111: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  driver = webdriver.Chrome(
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\original\upload.py:111: DeprecationWarning: use options instead of chrome_options
  driver = webdriver.Chrome(
Start creating NFT 1230
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\original\upload.py:138: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  additem = driver.find_element_by_xpath('//*[@id="__next"]/div[1]/main/div/div/div[1]/span/a')
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\BonBon.DESKTOP-B1B9CUP\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__
    return self.func(*args)
  File "C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\original\upload.py", line 142, in main_program_loop
    wait_xpath('//*[@id="media"]')
  File "C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\original\upload.py", line 129, in wait_xpath
    wait.until(ExpectedConditions.presence_of_element_located((By.XPATH, code)))
  File "C:\Users\BonBon.DESKTOP-B1B9CUP\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\support\wait.py", line 89, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
Backtrace:
        Ordinal0 [0x01056903+2517251]
        Ordinal0 [0x00FEF8E1+2095329]
        Ordinal0 [0x00EF2848+1058888]
        Ordinal0 [0x00F1D448+1233992]
        Ordinal0 [0x00F1D63B+1234491]
        Ordinal0 [0x00F47812+1406994]
        Ordinal0 [0x00F3650A+1336586]
        Ordinal0 [0x00F45BBF+1399743]
        Ordinal0 [0x00F3639B+1336219]
        Ordinal0 [0x00F127A7+1189799]
        Ordinal0 [0x00F13609+1193481]
        GetHandleVerifier [0x011E5904+1577972]
        GetHandleVerifier [0x01290B97+2279047]
        GetHandleVerifier [0x010E6D09+534521]
        GetHandleVerifier [0x010E5DB9+530601]
        Ordinal0 [0x00FF4FF9+2117625]
        Ordinal0 [0x00FF98A8+2136232]
        Ordinal0 [0x00FF99E2+2136546]
        Ordinal0 [0x01003541+2176321]
        BaseThreadInitThunk [0x77106359+25]
        RtlGetAppContainerNamedObjectPath [0x776A87A4+228]
        RtlGetAppContainerNamedObjectPath [0x776A8774+180]

or when tried to edit a bit of script it goes further, but fails to select Polygon blockchain

C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\custom>python upload.py
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\custom\upload.py:137: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  driver = webdriver.Chrome(
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\custom\upload.py:137: DeprecationWarning: use options instead of chrome_options
  driver = webdriver.Chrome(
Start creating NFT C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\test\3.png
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\custom\upload.py:160: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  createTab = driver.find_element_by_xpath('//*[@id="__next"]/div[1]/main/div/div/div[1]/span/a')
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\custom\upload.py:165: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  imageUpload = driver.find_element_by_xpath('//*[@id="media"]')
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\custom\upload.py:168: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  name = driver.find_element_by_xpath('//*[@id="name"]')
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\custom\upload.py:172: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  extLink = driver.find_element_by_xpath('//*[@id="external_link"]')
C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\custom\upload.py:176: DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
  desc = driver.find_element_by_xpath('//*[@id="description"]')
//span[normalize-space() = "Mumbai"]

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\BonBon.DESKTOP-B1B9CUP\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py", line 1921, in __call__
    return self.func(*args)
  File "C:\Users\BonBon.DESKTOP-B1B9CUP\Downloads\custom\upload.py", line 187, in main
    wait.until(ExpectedConditions.presence_of_element_located((By.XPATH, polygon_button_location)))
  File "C:\Users\BonBon.DESKTOP-B1B9CUP\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\support\wait.py", line 89, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Stacktrace:
Backtrace:
        Ordinal0 [0x01006903+2517251]
        Ordinal0 [0x00F9F8E1+2095329]
        Ordinal0 [0x00EA2848+1058888]
        Ordinal0 [0x00ECD448+1233992]
        Ordinal0 [0x00ECD63B+1234491]
        Ordinal0 [0x00EF7812+1406994]
        Ordinal0 [0x00EE650A+1336586]
        Ordinal0 [0x00EF5BBF+1399743]
        Ordinal0 [0x00EE639B+1336219]
        Ordinal0 [0x00EC27A7+1189799]
        Ordinal0 [0x00EC3609+1193481]
        GetHandleVerifier [0x01195904+1577972]
        GetHandleVerifier [0x01240B97+2279047]
        GetHandleVerifier [0x01096D09+534521]
        GetHandleVerifier [0x01095DB9+530601]
        Ordinal0 [0x00FA4FF9+2117625]
        Ordinal0 [0x00FA98A8+2136232]
        Ordinal0 [0x00FA99E2+2136546]
        Ordinal0 [0x00FB3541+2176321]
        BaseThreadInitThunk [0x77106359+25]
        RtlGetAppContainerNamedObjectPath [0x776A87A4+228]
        RtlGetAppContainerNamedObjectPath [0x776A8774+180]

Request to extend the program.

Hi, First of all, you did an amazing job for free. That's an impressive man.
Can you please add properties adding with JSON and also an option to sell it with price and time in Eth on polygon?
I see someone is made it in c# and he is selling it on Fiverr for just $165
here is the link for that:
https://www.fiverr.com/share/dP7LNz
I hope you do something for us more.
Once again thank you

It's not responding after pressing start.

The bot itself just refreshes the page and that's all.
I did try to do the first 4 nfts with it to see if it's just an initial lag due to lots of pics but it didn't help either.
I downloaded and reinstalled chrome with its proper drivers for selenium for the according version of chrome. But still the same issues.
The prompt shows that there is a timeout.exception issue which has a troubleshooting correction but still doesn't work.

Properties

Hi. If I use this method, I won't have properties for each NFT. Is there way to add properties? If not what can I do?

Price issue

I tried to add a specific price for each (based on rarity) items inside a csv file to update the price entry each time i upload an item. But i've got an error

Create Listing MetaMask signing Not Working

Facing Continuous Error After Creating NFT. it's Not Able to Click the Create Listing Button and Sign with Metamask.

selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element ... is not clickable at point (239, 725). Other element would receive the click:

(Session info: chrome=96.0.4664.110)

Metamask sign

At the end, I have to manually confirm (Sign) Metamask for each NFT loaded.
Loads everything automatically, but does not confirm Metamask automatically.

Does anyone have a solution?
Maybe the problem is the new version of Metamask?

NFT upload app

Properties

Great project! It would be really helpful if we could give properties to images.

NameError: global name 'FileNotFoundError' is not defined

NFTs-Upload-to-OpenSea git:(main) ✗ python openseaupload.py
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
Traceback (most recent call last):
  File "openseaupload.py", line 71, in <module>
    collection_link_input = InputField("OpenSea Collection Link:", 2, 0, 1)
  File "openseaupload.py", line 58, in __init__
    except FileNotFoundError:
NameError: global name 'FileNotFoundError' is not defined

Also, I changed the chromedriver.exe with chromedriver for macOS

This might not be safe. Can someone confirm this code is for being able to take ownership of my NFTs and weth?

I used this a few days ago at night time, I figured I would leave it on overnight. I had security issues on my PC in the morning and couldn't use my pin to log in, I had to reinstall windows. I just checked tho and there is an allowance on my wallet to spend unlimited weth and a weird smart contract. I created this wallet from before downloading this as I had concerns. The only transaction I approve was to initialize my wallet on opensea. Heres my wallet;
0xd8e833d9563f0795c8619a3843e75a9957169a83
Here's said smart contract that I can't revoke until I created a username on etherscan which I will do soon.
https://etherscan.io/address/0xe5c783ee536cf5e63e792988335c4255169be4e1#code

Hi, issue's with the script using the newest chrome

Everything seems to work but when batchuploading begins it stops at almost the final step, tried a new chrome.exe but without revail
Using windows 11 but shouldn't be a issue because several people are noticing it

could you check please ?

Greets

Deprecation Warning

I recieve this as part of the error on the CMD box:

NFTs-Upload-to-OpenSea-main\NFTs-Upload-to-OpenSea-main\openseaupload.py:111: DeprecationWarning: use options instead of chrome_options
driver = webdriver.Chrome(
Exception in Tkinter callback
Traceback (most recent call last):

I uploaded the newest chromedriver but error remains.

Is this the solution? Using options instead of chrome_options?

options = webdriver.ChromeOptions()
options.add_argument('--headless')
driver = webdriver.Chrome(executable_path=r'C:\chromedriver_win32\chromedriver.exe', options=options)

If that is the fix, how and where is this replaced/edited?

Can't sign polygon blockchain

When it reaches Sign, it crashes
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users*\AppData\Local\Programs\Python\Python310\lib\tkinter_init_.py", line 1921, in call
return self.func(args)
File "C:\Users*
\Downloads\NFTs-Upload-to-OpenSea-main\openseaupload.py", line 193, in main_program_loop
wait_css_selector("button[class='Blockreact__Block-sc-1xf18x6-0 Buttonreact__StyledButton-sc-glfma3-0 bhqEJb fzwDgL']")
File "C:\Users*
\Downloads\NFTs-Upload-to-OpenSea-main\openseaupload.py", line 119, in wait_css_selector
wait.until(
File "C:\Users*
*\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:

it is not signing the metamask contract

Hi, a million thanks for this program
today, for the current version of Chrome, the program is not signing the contract for selling the NFT.
can you check it, please?
Thanks again

Program not responding after opening OpenSea

I'm trying to upload a collection with 10K items. This script keeps going to not responding after opening OpenSea in Chrome and does nothing. I've tried uploading less items and re-installing everything but my issue still persists. Below is a screenshot from Command Prompt with what happens after I start the program. There is a deprecation warning in Command Prompt which may be the issue, however, I don't know how to fix that. Can someone help me out?
image

It gets stuck in the selling part.

The code works very well until the selling part. After adding the price, it stuck and cannot find the button. So, ıt ends the working. Is there any solution for that?

error while starting code

when starting code, i recive the next error:

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2544.0_x64__qbz5n2kfra8p0\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "C:\Users\Eric\Desktop\NFTs-Upload-to-OpenSea-main\openseaupload.py", line 134, in main_program_loop
driver.get(collection_link)
File "C:\Users\Eric\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\remote\webdriver.py", line 333, in get
self.execute(Command.GET, {'url': url})
File "C:\Users\Eric\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\Eric\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument
(Session info: chrome=96.0.4664.45)

i used the code for a few days, no errors were collected.

Stops working

The program just stops working after the first item is put on sale and just goess back to the beginning.

I was on the last spot , when i started the ''openseaupload.py'' that happened.

File "C:\Users\yakay\AppData\Local\Programs\Python\Python310\lib\tkinter_init_.py", line 1921, in call
return self.func(args)
File "C:\Users\yakay\Desktop\NFTs-Upload-to-OpenSea-main\openseaupload.py", line 142, in main_program_loop
wait_xpath('//
[@id="media"]')
File "C:\Users\yakay\Desktop\NFTs-Upload-to-OpenSea-main\openseaupload.py", line 129, in wait_xpath
wait.until(ExpectedConditions.presence_of_element_located((By.XPATH, code)))
File "C:\Users\yakay\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:

Pip is not running

'pip' is not recognized as an internal or external command, operable program or batch file.

Supply Option.

This will be really helpful, I want to upload my nft's as 1000 copies.

Wont Finish Uploading

It stops uploading right after it finishes clicking the polygon blockchain, it will not hit the create button. Can someone help me please?

selenium error

python openseaupload.py
Traceback (most recent call last):
File "openseaupload.py", line 10, in
from selenium import webdriver
ImportError: No module named selenium

I don't understand why this happened I'm on macOS

Wont sign metamask

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\George Lopez\New folder\lib\tkinter_init_.py", line 1921, in call
return self.func(args)
File "C:\Users\George Lopez\Pictures\nft\Progam for Selling\NFTs-Upload-to-OpenSea-main\NFTs-Upload-to-OpenSea-main\openseaupload.py", line 142, in main_program_loop
wait_xpath('//
[@id="media"]')
File "C:\Users\George Lopez\Pictures\nft\Progam for Selling\NFTs-Upload-to-OpenSea-main\NFTs-Upload-to-OpenSea-main\openseaupload.py", line 129, in wait_xpath
wait.until(ExpectedConditions.presence_of_element_located((By.XPATH, code)))
File "C:\Users\George Lopez\New folder\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.