There are two enormous resources available to you, other musicians playing live or on recordings, and the vast music literature. There's some overlap, so that many notable solos are available for study as sheet music.
On that note, learn to read standard music notation. That allows you to more easily understand what you're learning than does tablature. You can also write down musical ideas and licks you decipher or compose yourself (a micro-recorder is great for those, and some phones have sufficient audio recording quality).
But notation's biggest advantage is access to the music literature. The more you understand how music works, the better and more easily you can recognize and understand how musical phrases are built, which gives you starting points for crafting your own.
Study the mechanics of guitar playing, and make an honest effort to develop good technique, which can make up for lack of guitar-god-like abilities†.
One of Jimmy Page's greatest assets is the wealth of licks he knows, which kept him a very busy session player. Not only is it proper to "borrow" licks from other players, that vocabulary is fundamental to developing your own voice — imagine trying to develop as a writer without studying other writers and using their techniques.
Do recognize licks that are overused and avoid playing them (unless for a very good reason), and aim for the less commonplace. The jazz guitar literature teaches a lot of phrases that most amateur rock players have never heard, but that color the playing of advanced guitarists and make it far more interesting.
( † During a session I worked in the late '70s, the producer wanted a short fill from the acoustic player. Although my principal instrument is bass, I double on guitar and made one of a handful of suggestions. The producer didn't choose mine for that section, but had me dictate it to the pianist who used it later in the tune.
The producer confided afterward that he was sure the pianist could manage the somewhat tricky phrase, but that "those young players all know the same hundred licks, and not one has any technique." He was pointing out that, while I was concious of technique and a year into classical guitar studies to remedy deficiencies of my own, expecting them to play something requiring genuine expertise was unrealistic.)